|
@@ -186,6 +186,7 @@ class Lave extends Api
|
|
|
}
|
|
|
if (cache('lave_' . $where['user_id'])) $this->error('正在处理中');
|
|
|
$plan_id = $where1['plan_id'];
|
|
|
+ @file_put_contents("quanju.txt", $plan_id . "-签约模版编号\r\n", 8);
|
|
|
// unset($where1['plan_id']);
|
|
|
$where1['contract_code'] = WechatPlanRecord::getNewCode();
|
|
|
$order = LaveMonthModel::create($where1);
|