Authored by 郝肖肖

分流uid 转数字

@@ -716,9 +716,8 @@ class Yohobuy @@ -716,9 +716,8 @@ class Yohobuy
716 $mod = 0; 716 $mod = 0;
717 717
718 if (isset($param['uid'])) { 718 if (isset($param['uid'])) {
719 - $param['uid'] = intval($param['uid']);  
720 - $uid = $param['uid'];  
721 - $mod = $param['uid'] % 1024; 719 + $uid = intval($param['uid']);
  720 + $mod = $uid % 1024;
722 } 721 }
723 722
724 if ($mod > 128 || $uid === 0) { 723 if ($mod > 128 || $uid === 0) {