@@ -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);