|
@@ -351,6 +351,38 @@ class Lave extends Api
|
|
|
$this->error('查询签约状态失败!');
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ public function csquerySign(Request $request)
|
|
|
+ {
|
|
|
+ $where = UtilService::postMore(
|
|
|
+ [
|
|
|
+ ['cid', ''],
|
|
|
+ ['user_id', ''],
|
|
|
+ ['contract_code',''],
|
|
|
+ ['plan_id', ''],
|
|
|
+ ], $request
|
|
|
+ );
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ $mch_id = Company::where('id', $where['cid'])->value('mch_id');
|
|
|
+
|
|
|
+
|
|
|
+ $rs = WechatService::querySign($mch_id, $where['contract_code'], $where['plan_id']);
|
|
|
+ @file_put_contents("quanju.txt", json_encode($rs) . "-查询签约状态返回结果\r\n", 8);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
?>
|