解决部分问题

This commit is contained in:
2020-06-02 22:30:23 +08:00
parent 7e88154991
commit 4e3cd3a47e
8 changed files with 42 additions and 25 deletions

View File

@ -12,12 +12,8 @@ class Index extends Base{
* 跳去登录页
*/
public function login(){
if('quanlianggongmall' == input('key')){
model('CronJobs')->autoByAdmin();
return $this->fetch("/login");
}else{
echo 'hello';
}
model('CronJobs')->autoByAdmin();
return $this->fetch("/login");
}
public function index(){