Commit cda140c2 authored by zhoujun's avatar zhoujun

预警配置

parent 0806648d
Pipeline #2225 passed with stage
in 0 seconds
......@@ -234,24 +234,17 @@ class ScriptService implements IScriptService
$verity->cash = $verity->cash + $arr['cash'];
$verity->updated_at = $this->time;
$verity->save();
}else{
unset($array[$key]);
}
}
print_r($array);
if(!empty($array)){
$test = serCashModel::insert($array);
print_r($test);
}
if(!empty($array)) UserCashModel::insert($array);
}
if($maxId > 0) self::getUpdateLastId(1,$maxId);
die();
DB::commit();
unset($logs,$log,$tem,$array);
return true;
} catch (\Exception $e){
DB::rollback();
print_r($e->getMessage());die();
unset($logs,$log,$tem,$array);
return false;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment