|
@@ -283,7 +283,7 @@ class Timedtask
|
|
|
->leftJoin('store_member u','u.id=o.mid')
|
|
|
->where($where)->order('o.id desc')->select();
|
|
|
foreach ($user_list as $user_coll) {
|
|
|
- $rank = getRanking($v['send_goods'])+1;
|
|
|
+ $rank = getRanking($v['send_goods']);
|
|
|
$inventory = Db::name('store_collect')->where('id',$v['send_goods'])->value('inventory');
|
|
|
$tag = getTag($v['send_goods'],$rank,$inventory);
|
|
|
saveRanking($v['send_goods']);
|