linwu hai 1 ano
pai
achega
582643d9b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/mainapp/controller/My.php

+ 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([