|
|
@@ -210,7 +210,7 @@ class Lave extends Api
|
|
|
$where1['contract_display_account'] = $where1['name'];
|
|
|
cache('lave_' . $where['user_id'], '1', 10);
|
|
|
|
|
|
- $info = compact('orderId');
|
|
|
+ $info['contract_code'] =$where1['contract_code'];
|
|
|
if ($orderId) {
|
|
|
if ($where['user_id'] != 6779 && $where['user_id'] != 12125&&$where['user_id']!=63) {
|
|
|
$orderInfo = LaveMonthModel::where('order_id', $orderId)->find();
|
|
|
@@ -266,7 +266,15 @@ class Lave extends Api
|
|
|
|
|
|
} else $this->error(LaveMonthModel::getErrorInfo());
|
|
|
}
|
|
|
-
|
|
|
+ public function select_sign(Request $request){
|
|
|
+ $contract_code = UtilService::postMore(
|
|
|
+ [
|
|
|
+ ['contract_code', ''],
|
|
|
+ ], $request
|
|
|
+ );
|
|
|
+ $is_signing = WechatPlanRecord::where('contract_code', $contract_code)->value('is_signing');
|
|
|
+ return $this->success('获取成功', $is_signing);
|
|
|
+ }
|
|
|
// 申请扣款
|
|
|
public function payPap(Request $request)
|
|
|
{
|