Authored by Rock Zhang

修改有货币中间banner的位置码,修改有货币过期提醒的判定逻辑

Code Review By Rock Zhang
@@ -31,10 +31,10 @@ class Yohobuy @@ -31,10 +31,10 @@ class Yohobuy
31 31
32 // /* 测试环境 */ 32 // /* 测试环境 */
33 // const API_URL = 'http://testapi.yoho.cn:28078/'; 33 // const API_URL = 'http://testapi.yoho.cn:28078/';
34 - const API_URL = 'http://192.168.102.205:8080/gateway/'; // 先临时使用网关  
35 - const SERVICE_URL = 'http://testservice.yoho.cn:28077/';  
36 - const YOHOBUY_URL = 'http://www.yohobuy.com/';  
37 - const API_OLD = 'http://test2.open.yohobuy.com/'; 34 +// const API_URL = 'http://192.168.102.205:8080/gateway/'; // 先临时使用网关
  35 +// const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
  36 +// const YOHOBUY_URL = 'http://www.yohobuy.com/';
  37 +// const API_OLD = 'http://test2.open.yohobuy.com/';
38 38
39 /* 预览环境 */ 39 /* 预览环境 */
40 // const API_URL = 'http://preapi.yoho.cn/'; 40 // const API_URL = 'http://preapi.yoho.cn/';
@@ -44,10 +44,10 @@ class Yohobuy @@ -44,10 +44,10 @@ class Yohobuy
44 // const API_OLD = 'http://api2.open.yohobuy.com/'; 44 // const API_OLD = 'http://api2.open.yohobuy.com/';
45 45
46 /* PC重构地址 */ 46 /* PC重构地址 */
47 -// const API_URL = 'http://test2.open.yohobuy.com/';  
48 -// const SERVICE_URL = 'http://test.service.api.yohobuy.com/';  
49 -// const YOHOBUY_URL = 'http://www.yohobuy.com/';  
50 -// const API_OLD = 'http://api2.open.yohobuy.com/'; 47 + const API_URL = 'http://test2.open.yohobuy.com/';
  48 + const SERVICE_URL = 'http://test.service.api.yohobuy.com/';
  49 + const YOHOBUY_URL = 'http://www.yohobuy.com/';
  50 + const API_OLD = 'http://api2.open.yohobuy.com/';
51 51
52 /** 52 /**
53 * 私钥列表 53 * 私钥列表
@@ -10,12 +10,12 @@ @@ -10,12 +10,12 @@
10 YOHO 10 YOHO
11 </p> 11 </p>
12 <a href="/home/currencyDetail" class="more">查看明细</a> 12 <a href="/home/currencyDetail" class="more">查看明细</a>
13 - {{#notice}} 13 + {{#if notice}}
14 <div class="coin-tip"> 14 <div class="coin-tip">
15 <span class="icon">!</span> 15 <span class="icon">!</span>
16 {{notice}} 16 {{notice}}
17 </div> 17 </div>
18 - {{/notice}} 18 + {{/if}}
19 {{/ yohoCoin}} 19 {{/ yohoCoin}}
20 </div> 20 </div>
21 <div class="banner"> 21 <div class="banner">
@@ -19,7 +19,7 @@ use Plugin\Images; @@ -19,7 +19,7 @@ use Plugin\Images;
19 */ 19 */
20 class UserModel 20 class UserModel
21 { 21 {
22 - const CODE_YOHOCOIN_BANNER = 'a2ec977c027d0cd9cdccb356ddf16b08'; 22 + const CODE_YOHOCOIN_BANNER = '05afedf76886d732573f10f7451a1703';
23 23
24 /** 24 /**
25 * 处理用户个人详情数据 25 * 处理用户个人详情数据