http>https 2
This commit is contained in:
@@ -56,7 +56,7 @@ class Aliverify
|
|||||||
$newsigndata['identity_param']['cert_type']="IDENTITY_CARD";
|
$newsigndata['identity_param']['cert_type']="IDENTITY_CARD";
|
||||||
$newsigndata['identity_param']['cert_name']=$res['name'];
|
$newsigndata['identity_param']['cert_name']=$res['name'];
|
||||||
$newsigndata['identity_param']['cert_no']= $res['id_code'];
|
$newsigndata['identity_param']['cert_no']= $res['id_code'];
|
||||||
$newsigndata['merchant_config']['return_url']="http://www.juip.com/User/Index?realname=true";
|
$newsigndata['merchant_config']['return_url']="https://juip.com/User/Index?realname=true";
|
||||||
$newsigndata['face_contrast_picture']="xydasf==";
|
$newsigndata['face_contrast_picture']="xydasf==";
|
||||||
$tosign=json_encode($newsigndata);
|
$tosign=json_encode($newsigndata);
|
||||||
$request->setBizContent($tosign);
|
$request->setBizContent($tosign);
|
||||||
@@ -148,7 +148,7 @@ class Aliverify
|
|||||||
$newsigndata['identity_param']['cert_type']="IDENTITY_CARD";
|
$newsigndata['identity_param']['cert_type']="IDENTITY_CARD";
|
||||||
$newsigndata['identity_param']['cert_name']=$res['name'];
|
$newsigndata['identity_param']['cert_name']=$res['name'];
|
||||||
$newsigndata['identity_param']['cert_no']= $res['id_code'];
|
$newsigndata['identity_param']['cert_no']= $res['id_code'];
|
||||||
$newsigndata['merchant_config']['return_url']="http://www.juip.com/User/Index?realname=true";
|
$newsigndata['merchant_config']['return_url']="https://juip.com/User/Index?realname=true";
|
||||||
$newsigndata['face_contrast_picture']="xydasf==";
|
$newsigndata['face_contrast_picture']="xydasf==";
|
||||||
$tosign=json_encode($newsigndata);
|
$tosign=json_encode($newsigndata);
|
||||||
$request->setBizContent($tosign);
|
$request->setBizContent($tosign);
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ class Account
|
|||||||
//获取传递的数据
|
//获取传递的数据
|
||||||
$data = $_GET;
|
$data = $_GET;
|
||||||
//请求的url
|
//请求的url
|
||||||
$url = 'http://www.juip.com/api/course/v1/productaccount/ApiCreateTestAccount';
|
$url = 'https://juip.com/api/course/v1/productaccount/ApiCreateTestAccount';
|
||||||
|
|
||||||
//请求参数
|
//请求参数
|
||||||
$params = array(
|
$params = array(
|
||||||
@@ -82,7 +82,7 @@ class Account
|
|||||||
{
|
{
|
||||||
//获取传递的数据
|
//获取传递的数据
|
||||||
$data = $_GET;
|
$data = $_GET;
|
||||||
$url = 'http://www.juip.com/product/ApiCreateOrder';
|
$url = 'https://juip.com/product/ApiCreateOrder';
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
"apikey" => $data['apikey'],
|
"apikey" => $data['apikey'],
|
||||||
@@ -117,7 +117,7 @@ class Account
|
|||||||
{
|
{
|
||||||
//获取传递的数据
|
//获取传递的数据
|
||||||
$data = $_GET;
|
$data = $_GET;
|
||||||
$url = 'http://www.juip.com/user/ApiUpdateAccountPwd';
|
$url = 'https://juip.com/user/ApiUpdateAccountPwd';
|
||||||
|
|
||||||
$params = array(
|
$params = array(
|
||||||
"apikey" => $data['apikey'],
|
"apikey" => $data['apikey'],
|
||||||
@@ -147,7 +147,7 @@ class Account
|
|||||||
{
|
{
|
||||||
//获取传递的数据
|
//获取传递的数据
|
||||||
$data = $_GET;
|
$data = $_GET;
|
||||||
$url = 'http://www.juip.com/api/course/v1/productaccount/OnLine?productId='.$data['product'].'&account='.$data['account'];
|
$url = 'https://juip.com/api/course/v1/productaccount/OnLine?productId='.$data['product'].'&account='.$data['account'];
|
||||||
|
|
||||||
$apikey = $data['apikey'];
|
$apikey = $data['apikey'];
|
||||||
$user_model = new User;
|
$user_model = new User;
|
||||||
@@ -180,7 +180,7 @@ class Account
|
|||||||
{
|
{
|
||||||
//获取传递的数据
|
//获取传递的数据
|
||||||
$data = $_GET;
|
$data = $_GET;
|
||||||
$url = 'http://www.juip.com/api/course/v1/productaccount/KillOut?productId='.$data['product'].'&id='.$data['id'];
|
$url = 'https://juip.com/api/course/v1/productaccount/KillOut?productId='.$data['product'].'&id='.$data['id'];
|
||||||
|
|
||||||
$apikey = $data['apikey'];
|
$apikey = $data['apikey'];
|
||||||
$user_model = new User;
|
$user_model = new User;
|
||||||
|
|||||||
@@ -523,7 +523,7 @@ class UserFollow extends Controller
|
|||||||
'caller' =>$caller,
|
'caller' =>$caller,
|
||||||
'callee'=>$callee,
|
'callee'=>$callee,
|
||||||
'serviceNumber'=>$serviceNumber,
|
'serviceNumber'=>$serviceNumber,
|
||||||
'callBackUrl' =>"http://php-api.juip.com/api/hujiao/callback"
|
'callBackUrl' =>"https://php-api.juip.com/api/hujiao/callback"
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class KillOut
|
|||||||
linkcurl($url,'GET',false,$header);
|
linkcurl($url,'GET',false,$header);
|
||||||
}
|
}
|
||||||
|
|
||||||
header("refresh:3;url=http://php-api.juip.com/product/killOut/list");
|
header("refresh:3;url=https://php-api.juip.com/product/killOut/list");
|
||||||
print('踢线成功,请稍等...<br>3秒后返回。');
|
print('踢线成功,请稍等...<br>3秒后返回。');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,9 +68,9 @@ class Alipay
|
|||||||
|
|
||||||
$param = json_encode($param);
|
$param = json_encode($param);
|
||||||
|
|
||||||
$request->setReturnUrl('http://www.juip.com/product/routeros');
|
$request->setReturnUrl('https://juip.com/product/routeros');
|
||||||
|
|
||||||
$notifyUrl="http://php-api.juip.com/common/alipay/alipayverify";
|
$notifyUrl="https://php-api.juip.com/common/alipay/alipayverify";
|
||||||
$request->setNotifyUrl($notifyUrl);
|
$request->setNotifyUrl($notifyUrl);
|
||||||
|
|
||||||
$request->setBizContent($param);
|
$request->setBizContent($param);
|
||||||
@@ -112,9 +112,9 @@ class Alipay
|
|||||||
|
|
||||||
$param = json_encode($param);
|
$param = json_encode($param);
|
||||||
|
|
||||||
$request->setReturnUrl('http://www.juip.com/product/routeros');
|
$request->setReturnUrl('https://juip.com/product/routeros');
|
||||||
|
|
||||||
$notifyUrl="http://php-api.juip.com/common/alipay/alipayverify";
|
$notifyUrl="https://php-api.juip.com/common/alipay/alipayverify";
|
||||||
$request->setNotifyUrl($notifyUrl);
|
$request->setNotifyUrl($notifyUrl);
|
||||||
|
|
||||||
$request->setBizContent($param);
|
$request->setBizContent($param);
|
||||||
@@ -143,9 +143,9 @@ class Alipay
|
|||||||
|
|
||||||
$param = json_encode($param);
|
$param = json_encode($param);
|
||||||
|
|
||||||
$request->setReturnUrl('http://www.juip.com/product/http');
|
$request->setReturnUrl('https://juip.com/product/http');
|
||||||
|
|
||||||
$notifyUrl="http://php-api.juip.com/common/alipay/httpalipayverify";
|
$notifyUrl="https://php-api.juip.com/common/alipay/httpalipayverify";
|
||||||
$request->setNotifyUrl($notifyUrl);
|
$request->setNotifyUrl($notifyUrl);
|
||||||
|
|
||||||
$request->setBizContent($param);
|
$request->setBizContent($param);
|
||||||
@@ -173,9 +173,9 @@ class Alipay
|
|||||||
|
|
||||||
$param = json_encode($param);
|
$param = json_encode($param);
|
||||||
|
|
||||||
$request->setReturnUrl('http://www.juip.com/user/myaccounts');
|
$request->setReturnUrl('https://juip.com/user/myaccounts');
|
||||||
|
|
||||||
$notifyUrl="http://php-api.juip.com/common/alipay/jinyoualipayverify";
|
$notifyUrl="https://php-api.juip.com/common/alipay/jinyoualipayverify";
|
||||||
$request->setNotifyUrl($notifyUrl);
|
$request->setNotifyUrl($notifyUrl);
|
||||||
|
|
||||||
$request->setBizContent($param);
|
$request->setBizContent($param);
|
||||||
@@ -203,9 +203,9 @@ class Alipay
|
|||||||
|
|
||||||
$param = json_encode($param);
|
$param = json_encode($param);
|
||||||
|
|
||||||
$request->setReturnUrl('http://www.juip.com/user/Index');
|
$request->setReturnUrl('https://juip.com/user/Index');
|
||||||
|
|
||||||
$notifyUrl="http://php-api.juip.com/common/alipay/jinqiaoalipayverify";
|
$notifyUrl="https://php-api.juip.com/common/alipay/jinqiaoalipayverify";
|
||||||
$request->setNotifyUrl($notifyUrl);
|
$request->setNotifyUrl($notifyUrl);
|
||||||
|
|
||||||
$request->setBizContent($param);
|
$request->setBizContent($param);
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class Wxpay
|
|||||||
$input->SetTotal_fee($param['money']);
|
$input->SetTotal_fee($param['money']);
|
||||||
$input->SetTime_start(date("YmdHis"));
|
$input->SetTime_start(date("YmdHis"));
|
||||||
$input->SetTime_expire(date("YmdHis", time() + 600));
|
$input->SetTime_expire(date("YmdHis", time() + 600));
|
||||||
$input->SetNotify_url("http://php-api.juip.com/common/wxpay/wxpayverify");
|
$input->SetNotify_url("https://php-api.juip.com/common/wxpay/wxpayverify");
|
||||||
$input->SetTrade_type("NATIVE");
|
$input->SetTrade_type("NATIVE");
|
||||||
|
|
||||||
$result = $notify->GetPayUrl($input);
|
$result = $notify->GetPayUrl($input);
|
||||||
@@ -35,7 +35,7 @@ class Wxpay
|
|||||||
$input->SetTotal_fee($param['money']);
|
$input->SetTotal_fee($param['money']);
|
||||||
$input->SetTime_start(date("YmdHis"));
|
$input->SetTime_start(date("YmdHis"));
|
||||||
$input->SetTime_expire(date("YmdHis", time() + 600));
|
$input->SetTime_expire(date("YmdHis", time() + 600));
|
||||||
$input->SetNotify_url("http://php-api.juip.com/common/wxpay/httpwxpayverify");
|
$input->SetNotify_url("https://php-api.juip.com/common/wxpay/httpwxpayverify");
|
||||||
$input->SetTrade_type("NATIVE");
|
$input->SetTrade_type("NATIVE");
|
||||||
|
|
||||||
$result = $notify->GetPayUrl($input);
|
$result = $notify->GetPayUrl($input);
|
||||||
@@ -52,7 +52,7 @@ class Wxpay
|
|||||||
$input->SetTotal_fee($param['money']);
|
$input->SetTotal_fee($param['money']);
|
||||||
$input->SetTime_start(date("YmdHis"));
|
$input->SetTime_start(date("YmdHis"));
|
||||||
$input->SetTime_expire(date("YmdHis", time() + 600));
|
$input->SetTime_expire(date("YmdHis", time() + 600));
|
||||||
$input->SetNotify_url("http://php-api.juip.com/common/wxpay/jinyouwxpayverify");
|
$input->SetNotify_url("https://php-api.juip.com/common/wxpay/jinyouwxpayverify");
|
||||||
$input->SetTrade_type("NATIVE");
|
$input->SetTrade_type("NATIVE");
|
||||||
|
|
||||||
$result = $notify->GetPayUrl($input);
|
$result = $notify->GetPayUrl($input);
|
||||||
@@ -69,7 +69,7 @@ class Wxpay
|
|||||||
$input->SetTotal_fee($param['money']);
|
$input->SetTotal_fee($param['money']);
|
||||||
$input->SetTime_start(date("YmdHis"));
|
$input->SetTime_start(date("YmdHis"));
|
||||||
$input->SetTime_expire(date("YmdHis", time() + 600));
|
$input->SetTime_expire(date("YmdHis", time() + 600));
|
||||||
$input->SetNotify_url("http://php-api.juip.com/common/wxpay/jinqiaowxpayverify");
|
$input->SetNotify_url("https://php-api.juip.com/common/wxpay/jinqiaowxpayverify");
|
||||||
$input->SetTrade_type("NATIVE");
|
$input->SetTrade_type("NATIVE");
|
||||||
|
|
||||||
$result = $notify->GetPayUrl($input);
|
$result = $notify->GetPayUrl($input);
|
||||||
|
|||||||
Reference in New Issue
Block a user