|
@@ -495,7 +495,7 @@ class Timedtask
|
|
|
print_r($cailiao1);print_r('分割');print_r($cailiao2);
|
|
|
}
|
|
|
public function chongzhi(){
|
|
|
- $db = Db::name('sun_money')->where('status',1)->limit(5)->select();
|
|
|
+ $db = Db::name('sun_money')->where('status',1)->limit(50)->select();
|
|
|
foreach ($db as $k=>$v){
|
|
|
$db[$k]['name']=Db::name('store_member')->where('phone',$db[$k]['phone'])->value('id');
|
|
|
memberMoneyChange($db[$k]['money'],3,$db[$k]['name'],'平台奖励',1,0,['order_id'=>0,'source'=>2]);
|