|
@@ -105,6 +105,17 @@ class WithdrawService
|
|
|
return self::postRequest(self::$url . $url, compact('data', 'token'));
|
|
return self::postRequest(self::$url . $url, compact('data', 'token'));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public static function contractInfo($id)
|
|
|
|
|
+ {
|
|
|
|
|
+
|
|
|
|
|
+ $url = '/Enterprise/contractInfo';
|
|
|
|
|
+ $data = [
|
|
|
|
|
+ 'enterprise_professional_facilitator_id' => $id,//姓名
|
|
|
|
|
+ ];
|
|
|
|
|
+ $token = self::$token;
|
|
|
|
|
+ return self::postRequest(self::$url . $url, compact('data', 'token'));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
public static function postRequest($url, $data)
|
|
public static function postRequest($url, $data)
|
|
|
{
|
|
{
|
|
|
$res = json_decode(self::do_request($url, $data, ['content-type:application/json'], true, true), true);
|
|
$res = json_decode(self::do_request($url, $data, ['content-type:application/json'], true, true), true);
|