Authored by 周少峰

Merge branch 'release/4.4' of http://git.dev.yoho.cn/web/yohobuywap into release/4.4

@@ -14,7 +14,8 @@ use Api\Yohobuy; @@ -14,7 +14,8 @@ use Api\Yohobuy;
14 class CouponData 14 class CouponData
15 { 15 {
16 16
17 - const API_URL = 'http://api.open.yohobuy.com/'; 17 + // 需要同步更新 YOHOBUY 接口 线下调试调用线上接口时使用
  18 +// const API_URL = 'http://api.open.yohobuy.com/';
18 19
19 /** 20 /**
20 * 获取领券楼层数据 21 * 获取领券楼层数据
@@ -32,7 +33,7 @@ class CouponData @@ -32,7 +33,7 @@ class CouponData
32 $param['uid'] = $uid; 33 $param['uid'] = $uid;
33 } 34 }
34 $param['client_secret'] = Sign::getSign($param); 35 $param['client_secret'] = Sign::getSign($param);
35 - return Yohobuy::get(self::API_URL, $param); 36 + return Yohobuy::get(Yohobuy::API_URL, $param);
36 } 37 }
37 38
38 39
@@ -48,7 +49,7 @@ class CouponData @@ -48,7 +49,7 @@ class CouponData
48 $param['couponId'] = $couponId; 49 $param['couponId'] = $couponId;
49 $param['uid'] = $uid; 50 $param['uid'] = $uid;
50 $param['client_secret'] = Sign::getSign($param); 51 $param['client_secret'] = Sign::getSign($param);
51 - return Yohobuy::get(self::API_URL, $param); 52 + return Yohobuy::get(Yohobuy::API_URL, $param);
52 } 53 }
53 54
54 /** 55 /**