|
|
|
@ -67,7 +67,8 @@ class AspNetZhuanController extends Controller
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$nonce=uniqid();
|
|
|
|
$nonce=uniqid();
|
|
|
|
$res= self::Post(self::$BaseUrl . '/zhongzhuan.aspx?str='.$nonce,$data,'获取优惠卷类型');
|
|
|
|
$res= self::Post(self::$BaseUrl . '/zhongzhuan.aspx?str='.$nonce,$data,'获取优惠卷类型');
|
|
|
|
return $res['data'];
|
|
|
|
|
|
|
|
|
|
|
|
return $res['data']??true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//获取人员档案
|
|
|
|
//获取人员档案
|
|
|
|
public static function GetPersonInfo($data)
|
|
|
|
public static function GetPersonInfo($data)
|
|
|
|
@ -118,6 +119,7 @@ class AspNetZhuanController extends Controller
|
|
|
|
{
|
|
|
|
{
|
|
|
|
self::RequestLog($url, $data, $mark, '.Net转发');
|
|
|
|
self::RequestLog($url, $data, $mark, '.Net转发');
|
|
|
|
$response = Http::post($url,$data);
|
|
|
|
$response = Http::post($url,$data);
|
|
|
|
|
|
|
|
Log::info($response);
|
|
|
|
if ($response->successful()) {
|
|
|
|
if ($response->successful()) {
|
|
|
|
$res = $response->json();
|
|
|
|
$res = $response->json();
|
|
|
|
$res_string=json_encode($res, JSON_UNESCAPED_UNICODE);
|
|
|
|
$res_string=json_encode($res, JSON_UNESCAPED_UNICODE);
|
|
|
|
|