shish 6 years ago
parent
commit
9bb1853983
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/client/controllers/AuthController.php

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

@@ -157,6 +157,7 @@ class AuthController extends PublicController
 		$user = UserService::getByMiniOpenId($openid, $account);
 		if (empty($user)) {
 			$userInfo = ['miniOpenId' => $openid, 'merchantId' => $account];
+			Yii::info(json_encode($userInfo));
 			$user = UserService::replaceUser($userInfo, $userSource, $account);
 		}
 		$cacheKey = 'MINI_SESSION_KEY_' . $openid;