Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
9ce2bf2913bc9909a5fac0fa4a30777ba4db23c3
1 parent
0ff1e353
增
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
library/Api/Yohobuy.php
yohobuy/m.yohobuy.com/application/controllers/Home.php
library/Api/Yohobuy.php
View file @
9ce2bf2
...
...
@@ -17,7 +17,7 @@ use Plugin\Cache;
class
Yohobuy
{
//
/* 正式环境 */
/* 正式环境 */
// const API_URL = 'http://api2.open.yohobuy.com/';
// const SERVICE_URL = 'http://service.api.yohobuy.com/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
9ce2bf2
...
...
@@ -203,12 +203,35 @@ class HomeController extends AbstractAction
// print_r($address);
$this
->
_view
->
display
(
'address'
,
array
(
'
myIndex
Page'
=>
true
,
'
address
Page'
=>
true
,
'pageFooter'
=>
true
,
'address'
=>
$address
));
}
/**
* 修改地址
*/
public
function
editAddressAction
()
{
// 设置网站标题
$this
->
setTitle
(
'修改地址'
);
$this
->
setNavHeader
(
'修改地址'
,
true
,
SITE_MAIN
);
// $uid = $this->getUid();
$uid
=
967016
;
$address
=
\Index\UserModel
::
getAddressData
(
$uid
);
// print_r($address);
$this
->
_view
->
display
(
'edit_address'
,
array
(
'editAddressPage'
=>
true
,
'pageFooter'
=>
true
,
'address'
=>
$address
));
}
/**
* 在线客服
*/
...
...
Please
register
or
login
to post a comment