Explorar o código

Merge branch 'mt' of http://git.huaml.com/zhh/huahuibao into mt

Gogs %!s(int64=4) %!d(string=hai) anos
pai
achega
1cc0fdd317
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-pt/controllers/MtController.php

+ 1 - 1
app-pt/controllers/MtController.php

@@ -61,7 +61,7 @@ class MtController extends BaseController
     {
         $shopId = Yii::$app->request->get('id');
         $shopExt = ShopExtClass::getByCondition(['shopId' => $shopId], true);
-        if (empty($ext)) {
+        if (empty($shopExt)) {
             util::fail('没有找到门店相信息');
         }
         $accessToken = mtUtil::getAccessToken($shopExt);