|
@@ -577,7 +577,7 @@ class Pay extends Api
|
|
|
// $sign_bytes = strtolower($this->base16_encode(md5($data)));
|
|
|
// $sign_bytes = strtoupper($this->base16_encode($sign_bytes));
|
|
|
|
|
|
- $sign_bytes = $this->base16_encode(md5($data));
|
|
|
+ $sign_bytes = '/3.0/hop/svc/pay/toPay.ajax' . $this->base16_encode(md5($data));
|
|
|
$hdc_token = hash_hmac('sha256', $sign_bytes, config('pay_appkey'), false);
|
|
|
// $hdc_token = strtolower($this->base16_encode($hdc_token));
|
|
|
|