|
|
|
|
@ -44,7 +44,8 @@ class AspNetZhuanController extends Controller
|
|
|
|
|
//二线预约
|
|
|
|
|
public static function ErXian($data,$nonce)
|
|
|
|
|
{
|
|
|
|
|
$res= self::Post(self::$BaseUrl . '/erxianzhongzhuan.aspx?str='.$nonce,$data,'二线号源');
|
|
|
|
|
// $res= self::Post(self::$BaseUrl . '/erxianzhongzhuan.aspx?str='.$nonce,$data,'二线号源');
|
|
|
|
|
$res= self::Post(self::$BaseUrl . '/erxian.aspx?str='.$nonce,$data,'二线号源');
|
|
|
|
|
if($data['action']==2) return $res['gid']??false;
|
|
|
|
|
return $res['data']??true;
|
|
|
|
|
}
|
|
|
|
|
@ -70,7 +71,8 @@ class AspNetZhuanController extends Controller
|
|
|
|
|
public static function YouHuiQuan($data)
|
|
|
|
|
{
|
|
|
|
|
$nonce=uniqid();
|
|
|
|
|
$res= self::Post(self::$BaseUrl . '/zhongzhuan.aspx?str='.$nonce,$data,'获取优惠卷类型');
|
|
|
|
|
//$res= self::Post(self::$BaseUrl . '/zhongzhuan.aspx?str='.$nonce,$data,'获取优惠卷类型');
|
|
|
|
|
$res= self::Post(self::$BaseUrl . '/youhuijuan.aspx?str='.$nonce,$data,'获取优惠卷类型');
|
|
|
|
|
|
|
|
|
|
return $res['data']??true;
|
|
|
|
|
}
|
|
|
|
|
|