Commit ae61cec8 authored by clone's avatar clone

bug

parent a60c7250
......@@ -53,7 +53,7 @@ class Login extends Basic
Session::set("userId",$result[0]["id"]);
Session::set("lastLoginTime",time());
$this->redirect('/index/banner');
$this->redirect('/admin.php/index/banner');
} else {
return view("/login/login", [ "msg" => "用户名或密码错误" ]);
}
......
......@@ -18,20 +18,20 @@
<!--</ul>-->
<!--</li>-->
<li role="presentation" class="active">
<a href="/index/banner"> 首页轮播图</a>
<a href="/admin.php/index/banner"> 首页轮播图</a>
</li>
<li role="presentation">
<a href="/index/users_list"> 用户列表</a>
<a href="/admin.php/index/users_list"> 用户列表</a>
</li>
<li role="presentation">
<a href="/index/watch_shop"> 预约看铺列表</a>
<a href="/admin.php/index/watch_shop"> 预约看铺列表</a>
</li>
<li role="presentation">
<a href="/index/transfer_list"> 委托转铺列表</a>
<a href="/admin.php/index/transfer_list"> 委托转铺列表</a>
</li>
<li role="presentation">
<a href="/index/version"> 版本号管理</a>
<a href="/admin.php/index/version"> 版本号管理</a>
</li>
</ul>
......
......@@ -22,7 +22,7 @@ class AppVersion extends Model
$type = $type == 'android' ? 1 : 0;
$param["type"] = $type;
$param["is_del"] = 0;
return $this->field("id,version_no,type,create_time,intro")
return $this->field("id,version_no,type,create_time,intro,app_path")
->where($param)
->order("id desc")
->limit(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment