Browse Source

支付相关

shish 6 years ago
parent
commit
1b933f2ca7

+ 0 - 1
app/client/controllers/OrderController.php

@@ -269,7 +269,6 @@ class OrderController extends BaseController
             $name = '购买商品';
             $totalFee = $actPrice;
             $user = UserService::getById($this->userId);
-            Yii::info(json_encode($user));
             $openId = isset($user['openId']) ? $user['openId'] : 0;
             if (httpUtil::isMiniProgram()) {
                 //小程序使用miniOpenId

+ 0 - 1
vendor/weixin/example/WxPay.JsApiPay.php

@@ -71,7 +71,6 @@ class JsApiPay
 		|| $UnifiedOrderResult['prepay_id'] == "")
 		{
 			//throw new WxPayException("参数错误");
-            Yii::info('UnifiedOrderResult:'.json_encode($UnifiedOrderResult));
             throw new WxPayException($UnifiedOrderResult['return_msg']);
 		}
 		$jsapi = new WxPayJsApiPay();