linwu 1 жил өмнө
parent
commit
582643d9b8

+ 1 - 1
app/mainapp/controller/My.php

@@ -543,7 +543,7 @@ class My extends BaseController
         if (isIdCard($user->idcard) == false) {
             page_result(1, "请填写正确的身份证号。");
         }
-        if (empty($user->realname)) {
+        if (empty($user->nickname)) {
             page_result(1, "请填写姓名。");
         }
         $user->save([