Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
ae61cec8
Commit
ae61cec8
authored
Dec 26, 2017
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
a60c7250
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Login.php
application/index/controller/Login.php
+1
-1
navigation.html
application/index/view/global/navigation.html
+5
-5
AppVersion.php
application/model/AppVersion.php
+1
-1
No files found.
application/index/controller/Login.php
View file @
ae61cec8
...
...
@@ -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"
=>
"用户名或密码错误"
]);
}
...
...
application/index/view/global/navigation.html
View file @
ae61cec8
...
...
@@ -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>
...
...
application/model/AppVersion.php
View file @
ae61cec8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment