diff --git a/library/Api/Yohobuy.php b/library/Api/Yohobuy.php index 4fbdc72..07d6ca0 100644 --- a/library/Api/Yohobuy.php +++ b/library/Api/Yohobuy.php @@ -31,10 +31,10 @@ class Yohobuy // /* 测试环境 */ // const API_URL = 'http://testapi.yoho.cn:28078/'; - const API_URL = 'http://192.168.102.205:8080/gateway/'; // 先临时使用网关 - const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; - const YOHOBUY_URL = 'http://www.yohobuy.com/'; - const API_OLD = 'http://test2.open.yohobuy.com/'; +// const API_URL = 'http://192.168.102.205:8080/gateway/'; // 先临时使用网关 +// const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; +// const YOHOBUY_URL = 'http://www.yohobuy.com/'; +// const API_OLD = 'http://test2.open.yohobuy.com/'; /* 预览环境 */ // const API_URL = 'http://preapi.yoho.cn/'; @@ -44,10 +44,10 @@ class Yohobuy // const API_OLD = 'http://api2.open.yohobuy.com/'; /* PC重构地址 */ -// const API_URL = 'http://test2.open.yohobuy.com/'; -// const SERVICE_URL = 'http://test.service.api.yohobuy.com/'; -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; -// const API_OLD = 'http://api2.open.yohobuy.com/'; + const API_URL = 'http://test2.open.yohobuy.com/'; + const SERVICE_URL = 'http://test.service.api.yohobuy.com/'; + const YOHOBUY_URL = 'http://www.yohobuy.com/'; + const API_OLD = 'http://api2.open.yohobuy.com/'; /** * 私钥列表 diff --git a/template/m.yohobuy.com/actions/index/home/currency-new.phtml b/template/m.yohobuy.com/actions/index/home/currency-new.phtml index bb14f14..ca90d00 100644 --- a/template/m.yohobuy.com/actions/index/home/currency-new.phtml +++ b/template/m.yohobuy.com/actions/index/home/currency-new.phtml @@ -10,12 +10,12 @@ 个 YOHO 币 </p> <a href="/home/currencyDetail" class="more">查看明细</a> - {{#notice}} + {{#if notice}} <div class="coin-tip"> <span class="icon">!</span> {{notice}} </div> - {{/notice}} + {{/if}} {{/ yohoCoin}} </div> <div class="banner"> diff --git a/yohobuy/m.yohobuy.com/application/models/Index/User.php b/yohobuy/m.yohobuy.com/application/models/Index/User.php index 5dfdf7a..7df8d74 100644 --- a/yohobuy/m.yohobuy.com/application/models/Index/User.php +++ b/yohobuy/m.yohobuy.com/application/models/Index/User.php @@ -19,7 +19,7 @@ use Plugin\Images; */ class UserModel { - const CODE_YOHOCOIN_BANNER = 'a2ec977c027d0cd9cdccb356ddf16b08'; + const CODE_YOHOCOIN_BANNER = '05afedf76886d732573f10f7451a1703'; /** * 处理用户个人详情数据