回调充值修改
This commit is contained in:
parent
bae7a58f0e
commit
4f0f91b61a
@ -33,7 +33,7 @@ class PayController extends BaseApiController
|
||||
Cache::set('logE1'.time(),$result['event_type']??'');
|
||||
if ($result && $result->event_type == 'TRANSACTION.SUCCESS') {
|
||||
$ciphertext = $result->resource['ciphertext'];
|
||||
Cache::set('logc'.time(),$result->resource['ciphertext']);
|
||||
Cache::set('logc'.time(),json_decode($result->resource['ciphertext'],true));
|
||||
if ($ciphertext['trade_state'] === 'SUCCESS') {
|
||||
$attach = $ciphertext['attach'];
|
||||
switch ($attach) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user