shish 6 yıl önce
ebeveyn
işleme
19d7edcb83

+ 1 - 2
app/mall/controllers/OrderController.php

@@ -330,11 +330,10 @@ class OrderController extends BaseController
 			$newParams = json_decode($jsApiParameters, true);
 			$newParams['orderId'] = $orderId;
 			util::success($newParams);
-			
 		} elseif ($payWay == 1) {
 			$extend = MerchantExtendService::getByMerchantId($merchantId);
 			if (isset($extend['alipayInit']) || $extend['alipayInit'] == 0) {
-				util::fail('支付宝即将开通...');
+				util::fail('支付宝付款即将开通...');
 			}
 			$config = [
 				//应用ID,您的APPID。

+ 2 - 2
common/components/business.php

@@ -144,10 +144,10 @@ class business
 		$small = $prefixImgUrl . $smallImg;
 		$info['smallAvatarUrl'] = $small;
 		$info['avatarUrl'] = $prefixImgUrl . $imgUrl;
+		$info['avatar'] = $prefixImgUrl . $imgUrl;
 		return $info;
 	}
-	
-	//
+
 	public static function formatOrderGoodsCover($info)
 	{
 		$imgUrl = isset($info['cover']) ? $info['cover'] : '';