|
|
@@ -36,7 +36,7 @@ class AuthController extends PublicController
|
|
|
$appId = $merchant['miniAppId'];
|
|
|
$miniOpenId = $post['miniOpenId'] ?? '';
|
|
|
if (empty($miniOpenId)) {
|
|
|
- util::fail('登录失败...');
|
|
|
+ util::success(['hasNoOpenId' => 1], '登录失败');
|
|
|
}
|
|
|
$cacheKey = 'GHS_SHOP_MINI_SESSION_KEY_' . $miniOpenId;
|
|
|
$sessionKey = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|