shish 3 лет назад
Родитель
Сommit
bd34560cb9
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      app-hd/controllers/PurchaseController.php

+ 4 - 1
app-hd/controllers/PurchaseController.php

@@ -294,14 +294,17 @@ class PurchaseController extends BaseController
         $current = time();
 
         if (($current + 50) > strtotime($deadline)) {
+            noticeUtil::push('c。。。 ' , '15280215347');
             util::fail('订单已失效,请重新下单');
         }
+        noticeUtil::push('b。。。 ' , '15280215347');
 
         $name = $orderSn;
         $totalFee = $order->realPrice;
         //强制使用小程序的miniOpenId
         $openId = isset($this->admin) && !empty($this->admin) ? $this->admin->miniOpenId : '';
         if (empty($openId)) {
+            noticeUtil::push('d。。。 ' , '15280215347');
             util::success(['hasError' => 1, 'hasNoMiniOpenId' => 1]);
         }
         $purchaseCapital = dict::getDict('capitalType', 'xhPurchase', 'id');
@@ -328,7 +331,7 @@ class PurchaseController extends BaseController
         $input->SetTime_expire(date("YmdHis", $expireTime));
         $input->SetNotify_url(Yii::$app->params['hdHost'] . '/notice/wx-callback/');
         $input->SetTrade_type("JSAPI");
-
+        noticeUtil::push('ee。。。 ' , '15280215347');
         //花卉宝代为申请的微信支付
         $merchantExtend = WxOpenClass::getWxInfo();