Explorar o código

wesmiler ECY 画画交易平台

APPLE %!s(int64=3) %!d(string=hai) anos
pai
achega
3f5ec6ffeb
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      application/index/controller/User.php

+ 8 - 0
application/index/controller/User.php

@@ -486,6 +486,14 @@ class User extends Frontend
                 $this->error($this->auth->getError(), null, ['token' => $this->request->token()]);
             }
         }
+
+        $code=input('code');
+        if(empty($code))
+        {
+            $code='';
+        }
+        $this->view->assign('code',$code);
+
         //判断来源
         $referer = $this->request->server('HTTP_REFERER');
         if ((strtolower(parse_url($referer, PHP_URL_HOST)) == strtolower($this->request->host()))