Browse Source

获取手机号返回

shish 6 years ago
parent
commit
7eb752352d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/client/controllers/UserController.php

+ 1 - 1
app/client/controllers/UserController.php

@@ -74,7 +74,7 @@ class UserController extends BaseController
 		if (!empty($user) && !empty($user['mobile'])) {
 			$userId = $user['id'];
 			UserAssetService::updateByUserId($userId, ['member' => 0]);
-			util::successInfo('操作成功', 'A0001', ['mobile' => $user['mobile']]);
+			util::success(['mobile' => $user['mobile']]);
 		}
 		$cacheKey = 'MINI_SESSION_KEY_' . $miniOpenId;
 		$sessionKey = Yii::$app->redis->executeCommand('GET', [$cacheKey]);