* [bug#63529,done,0.1h] Make the mandatory prompt information clear and add mandatory labels.

This commit is contained in:
zhangjialiang
2025-06-23 16:05:36 +08:00
parent 7cdb38cd2a
commit 6b499e5b6f
6 changed files with 11 additions and 5 deletions
+2 -1
View File
@@ -523,7 +523,8 @@ class admin extends control
{
if(!empty($_POST))
{
if(!$this->post->mobile || !$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedNoInfo));
if(!$this->post->mobile) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedMobile));
if(!$this->post->code) return $this->send(array('result' => 'fail', 'message' => $this->lang->admin->register->loginFailedCode));
$apiRoot = $this->config->admin->register->apiRoot;
$sessionVar = $this->config->sessionVar;