songxingwei 3 gadi atpakaļ
vecāks
revīzija
85338b7bfa
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      application/common/model/User.php

+ 3 - 3
application/common/model/User.php

@@ -901,9 +901,9 @@ class User Extends Model
      * 下单
      */
     public static function PlaceOrder($user_id,$address_id,$designer_id,$yy_date,$project_name,$coupon_id,$pay_type,$period_id){
-        if ($pay_type=='weixin'){
-            return Common::return_error('暂时无法使用微信支付');
-        }
+//        if ($pay_type=='weixin'){
+//            return Common::return_error('暂时无法使用微信支付');
+//        }
 
         $orde = Order::where('user_id',$user_id)->where('is_del',1)->where('overtime_pay_status',1)->find();
         if ($orde) return Common::return_error('有未支付的加班费订单,无法下单');