|
|
@@ -179,10 +179,10 @@ class Lave extends Api
|
|
|
}
|
|
|
|
|
|
if (cache('lave_' . $where['user_id'])) $this->error('正在处理中');
|
|
|
- @file_put_contents("lave.txt", json_encode($where1));
|
|
|
$plan_id=$where1['plan_id'];
|
|
|
// unset($where1['plan_id']);
|
|
|
$order = LaveMonthModel::create($where1);
|
|
|
+ @file_put_contents("quanju.txt", json_encode($order)."-创建支付订单\r\n", 8);
|
|
|
$where1['contract_code'] = WechatPlanRecord::getNewCode();
|
|
|
$where1['contract_display_account']=$contract_display_account;
|
|
|
cache('lave_' . $where['user_id'], '1', 10);
|