|
@@ -207,7 +207,7 @@ class Lave extends Api
|
|
|
'cid'=>$where['cid'],
|
|
|
'uid'=>$where['user_id'],
|
|
|
'price'=>$where['amount'],
|
|
|
- 'is_signing'=>0,
|
|
|
+ 'is_signing'=>-1,
|
|
|
'contract_code'=>$where1['contract_code'],
|
|
|
'contract_display_account'=>$where1['contract_display_account'],
|
|
|
'is_open'=>$where1['is_open'],
|
|
@@ -245,44 +245,6 @@ class Lave extends Api
|
|
|
|
|
|
} else $this->error(LaveMonthModel::getErrorInfo());
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
public function payPap(Request $request)
|
|
|
{
|
|
@@ -300,12 +262,6 @@ class Lave extends Api
|
|
|
|
|
|
$today = intval(date('d'));
|
|
|
$now_date = date('Y-m', time());
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
$tf=false;
|
|
|
if($day==1&&$today==$last){
|
|
|
$tf=true;
|
|
@@ -318,12 +274,6 @@ class Lave extends Api
|
|
|
if ($today == $day-1||$tf) {
|
|
|
|
|
|
$cid=$v['cid'];
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
$mch_id =Company::where('id',$cid)->value('pay_weixin_mchid');
|
|
|
$where1['cid']=$cid;
|
|
|
$where1['user_id']=$v['uid'];
|
|
@@ -381,7 +331,7 @@ class Lave extends Api
|
|
|
$contract_code=$sign_info['contract_code'];
|
|
|
|
|
|
$rs=WechatService::deleteSign($mch_id,$contract_code,$plan_id,'1.0',[],$where['cid']);
|
|
|
- @file_put_contents("quanju.txt", json_encode($rs)."-解除签约返回结果\r\n", 8);
|
|
|
+
|
|
|
$this->success('解除签约成功!');
|
|
|
|
|
|
|
|
@@ -390,36 +340,6 @@ class Lave extends Api
|
|
|
|
|
|
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
public function plan_lst(Request $request)
|
|
|
{
|
|
|
$where = UtilService::getMore(
|