shish 6 лет назад
Родитель
Сommit
76f0e4a7ca

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

@@ -157,7 +157,6 @@ class AuthController extends PublicController
 		//用户来源
 		$userSource = UserClass::$userSourceId['mini']['name'];
 		$user = UserService::getByMiniOpenId($openid, $account);
-		Yii::info('..88888..');
 		if (empty($user)) {
 			$userInfo = ['miniOpenId' => $openid, 'merchantId' => $account];
 			Yii::info(json_encode($userInfo));

+ 1 - 1
biz/merchant/services/ShopService.php

@@ -23,7 +23,7 @@ class ShopService extends BaseService
 		//后端计算距离再确认
 		$phpStatDistance = util::getDistance($shopLat, $shopLong, $lat, $lng);
 		if ($phpStatDistance > $jsStatDistance) {
-			util::fail('前端计算距离有误');
+			util::fail('前端计算距离有误');
 		}
 		$merchantId = $shopInfo['merchantId'];
 		$ext = MerchantExtendService::getByMerchantId($merchantId);