|
@@ -142,7 +142,7 @@ class VestPublish extends Model
|
142
|
142
|
$vest_imgs=json_decode($vest_imgs,true);
|
143
|
143
|
// $vest_imgs=array_merge($user_img,$vest_imgs);
|
144
|
144
|
//随机生成图集点赞数
|
145
|
|
- $thumb_up_num=intval(abs(crc32($vest_id)/1000000))+$user_num;
|
|
145
|
+ $thumb_up_num=intval(abs(crc32($vest_id)/1000000))+($vest_id%3*100)+$user_num;
|
146
|
146
|
//$thumb_up_num=0;//测试数据
|
147
|
147
|
//判断点赞数是否为空
|
148
|
148
|
if ($thumb_up_num==0){
|