Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1c9d9acc
authored
Oct 10, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
381d3f8c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
17 deletions
Application/Home/Conf/config_url.php
Application/Home/Controller/IndexController.class.php
Application/Index/Conf/config_url.php
Application/Index/Controller/IndexController.class.php
Application/Home/View/ServiceAgreement/index.html → Application/Index/View/ServiceAgreement/index.html
Application/Home/View/ServiceAgreement/legalStatement.html → Application/Index/View/ServiceAgreement/legalStatement.html
Application/Home/Conf/config_url.php
View file @
1c9d9acc
...
...
@@ -19,8 +19,6 @@ return array(
'integral'
=>
'Index/integral'
,
'notice'
=>
'Index/notice'
,
'chat'
=>
'Index/chat'
,
'serviceAgreement'
=>
'Index/serviceAgreement'
,
'legalStatement'
=>
'Index/legalStatement'
,
'hotgoods'
=>
'Cms/getHotGoods'
,
)
);
Application/Home/Controller/IndexController.class.php
View file @
1c9d9acc
...
...
@@ -158,18 +158,4 @@ class IndexController extends BaseController
{
$this
->
display
(
'Chat/index'
);
}
/**
* 服务协议
*/
public
function
serviceAgreement
()
{
$this
->
display
(
'ServiceAgreement/index'
);
}
/**
* 法律声明
*/
public
function
legalStatement
()
{
$this
->
display
(
'ServiceAgreement/legalStatement'
);
}
}
Application/Index/Conf/config_url.php
View file @
1c9d9acc
<?php
return
array
(
'URL_MAP_RULES'
=>
array
(
//静态路由
'serviceAgreement'
=>
'Index/serviceAgreement'
,
'legalStatement'
=>
'Index/legalStatement'
,
)
);
Application/Index/Controller/IndexController.class.php
View file @
1c9d9acc
...
...
@@ -19,4 +19,20 @@ class IndexController extends BaseController
$this
->
display
(
'Index/index'
);
}
/**
* 服务协议
*/
public
function
serviceAgreement
()
{
$this
->
display
(
'ServiceAgreement/index'
);
}
/**
* 法律声明
*/
public
function
legalStatement
()
{
$this
->
display
(
'ServiceAgreement/legalStatement'
);
}
}
Application/
Home
/View/ServiceAgreement/index.html
→
Application/
Index
/View/ServiceAgreement/index.html
View file @
1c9d9acc
File moved
Application/
Home
/View/ServiceAgreement/legalStatement.html
→
Application/
Index
/View/ServiceAgreement/legalStatement.html
View file @
1c9d9acc
File moved
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