Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
6158a9ba2f29e83356982a6146477900064960db
1 parent
267d48c1
'update'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
library/Api/Yohobuy.php
template/m.yohobuy.com/partials/cart/good.phtml
library/Api/Yohobuy.php
View file @
6158a9b
...
...
@@ -23,13 +23,13 @@ class Yohobuy
// const SERVICE_URL = 'http://service.api.yohobuy.com/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
//
const API_URL = 'http://apih5.yoho.cn/';
const
API_URL
=
'http://apih5.yoho.cn/'
;
// const API_URL2 = 'http://apih5.yoho.cn/';
// const SERVICE_URL = 'http://serviceh5.yoho.cn/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
/* 测试环境 */
const
API_URL
=
'http://testapi.yoho.cn:28078/'
;
//
const API_URL = 'http://testapi.yoho.cn:28078/';
const
SERVICE_URL
=
'http://testservice.yoho.cn:28077/'
;
const
YOHOBUY_URL
=
'http://www.yohobuy.com/'
;
...
...
template/m.yohobuy.com/partials/cart/good.phtml
View file @
6158a9b
...
...
@@ -40,10 +40,17 @@
</p>
</div>
<p class="row">
<span class="price">
<span class="price
hide
">
¥{{price}}
</span>
{{#if isAdvanceBuy}}
<p class="price">
<span class="sale-price{{^price}} no-price{{/price}}">{{salePrice}}</span>
{{#if price}}
<span class="market-price">{{price}}</span>
{{/if}}
</p>
{{/if}}
{{#if isVipPrice}}
<span class="vip">
VIP
...
...
Please
register
or
login
to post a comment