|
|
|
@ -61,7 +61,8 @@ class PayController extends Controller
|
|
|
|
$timestamp=(string)time();
|
|
|
|
$timestamp=(string)time();
|
|
|
|
|
|
|
|
|
|
|
|
//签名
|
|
|
|
//签名
|
|
|
|
$base64Signature=$XCXApi::Sign('/pages/other/entry/index?path=/pages/physical-examination/payment/index',$params,$nonce,$timestamp,true);
|
|
|
|
$pay_path="/pages/other/entry/index?path=/pages/physical-examination/payment/index";
|
|
|
|
|
|
|
|
$base64Signature=$XCXApi::Sign($pay_path,$params,$nonce,$timestamp,true);
|
|
|
|
$params['timestamp']=$timestamp;
|
|
|
|
$params['timestamp']=$timestamp;
|
|
|
|
$params['nonce']=$nonce;
|
|
|
|
$params['nonce']=$nonce;
|
|
|
|
$params['signature']=$base64Signature;
|
|
|
|
$params['signature']=$base64Signature;
|
|
|
|
|