From 8d740ca9572dacde35ee0ef4ba8eaedd2d6d95a7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 1 Nov 2019 17:29:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index 47fe6b24..9c30b6e5 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -927,7 +927,7 @@ class UserController extends BaseController } if(strlen($nickname_len) > 16){ - $this -> set_message(1001, "fail", "昵称过长"); + $this -> set_message(1027, "fail", "昵称过长"); } $nk = M('User', 'tab_') -> field('id,account,nickname') -> where(['nickname' => $user['nickname']]) -> find(); if (!empty($nk) && is_array($nk) && $user['user_id'] != $nk['id']) {