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