修复意见反馈接口返回数据中is_reliable为null的bug,是udid长度不够导致的
Code Review By Rock Zhang
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -364,7 +364,7 @@ class UserData | @@ -364,7 +364,7 @@ class UserData | ||
364 | public static function suggestData($udid, $page = 1, $limit = 30) | 364 | public static function suggestData($udid, $page = 1, $limit = 30) |
365 | { | 365 | { |
366 | $param = Yohobuy::param(); | 366 | $param = Yohobuy::param(); |
367 | - $param['udid'] = $udid; | 367 | + $param['udid'] = $udid . '13686403'; // 为了兼容udid长度 |
368 | $param['page'] = $page; | 368 | $param['page'] = $page; |
369 | $param['limit'] = $limit; | 369 | $param['limit'] = $limit; |
370 | $param['client_secret'] = Sign::getSign($param); | 370 | $param['client_secret'] = Sign::getSign($param); |
@@ -385,7 +385,7 @@ class UserData | @@ -385,7 +385,7 @@ class UserData | ||
385 | { | 385 | { |
386 | $param = Yohobuy::param(); | 386 | $param = Yohobuy::param(); |
387 | $param['uid'] = $uid; | 387 | $param['uid'] = $uid; |
388 | - $param['udid'] = $udid; | 388 | + $param['udid'] = $udid . '13686403';// 为了兼容udid长度 |
389 | $param['is_reliable'] = $reliable; | 389 | $param['is_reliable'] = $reliable; |
390 | $param['suggest_id'] = $suggest_id; | 390 | $param['suggest_id'] = $suggest_id; |
391 | $param['client_secret'] = Sign::getSign($param); | 391 | $param['client_secret'] = Sign::getSign($param); |
-
Please register or login to post a comment