فهرست منبع

跨境支付调试

kevin_zhangl 2 سال پیش
والد
کامیت
55e876bd8a

+ 2 - 1
common/models/forms/ApproachOrderForm.php

@@ -237,7 +237,8 @@ class ApproachOrderForm extends Model
             // 更新准订单状态为已支付
             $this->_model->STATUS = $this->status;
             $this->_model->NOTE = json_encode($this->note);
-            $this->_model->PAY_AT = Date::utcToTime($this->note['TranDate']);
+            $this->_model->PAY_AT = time();
+//            $this->_model->PAY_AT = Date::utcToTime($this->note['TranDate']);
             if (!$this->_model->save()) {
                 throw new Exception(Form::formatErrorsForApi($this->_model->getErrors()));
             }

+ 1 - 1
frontendEle/src/views/shop/order-overseas.vue

@@ -337,7 +337,7 @@
 
                   for(let key in response.payList){
                     // 如果是海外商品,则只有在线支付
-                    if (key === 'ALiPay') {
+                    if (key === 'online') {
                       this.payList.push({type:key, name:response.payList[key].name})
                       break;
                     }

+ 1 - 1
frontendEle/src/views/shop/order.vue

@@ -245,7 +245,7 @@
                         }
                     })
                     for(let key in response.payList){
-                        if (key === 'ALiPay') {
+                        if (key === 'online') {
                           continue
                         }
                         this.payList.push({type:key,name:response.payList[key].name})