|
@@ -214,12 +214,12 @@ class ZopBaseService
|
|
|
'uuid' => $uuid
|
|
|
];
|
|
|
|
|
|
- $reqObj = [
|
|
|
+ $reqObjBase = [
|
|
|
'head' => $head,
|
|
|
'body' => $params
|
|
|
];
|
|
|
|
|
|
- $reqObj = self::encrypt($reqObj, $aes);
|
|
|
+ $reqObj = self::encrypt($reqObjBase, $aes);
|
|
|
|
|
|
$reqParam = [
|
|
|
'appCode' => $appCode,
|
|
@@ -235,12 +235,14 @@ class ZopBaseService
|
|
|
$resArr = json_decode($result, true);
|
|
|
if ($urlPath == '/link/king/identity/cust/v2') {
|
|
|
if ($resArr['aCode'] != '0000' || $resArr['bCode']!= '0000') {
|
|
|
+ $order->original_import_params = json_encode($reqObjBase, JSON_UNESCAPED_UNICODE);
|
|
|
$order->import_params = json_encode($reqParam);
|
|
|
$order->export_params = $result;
|
|
|
$order->save();
|
|
|
}
|
|
|
} else {
|
|
|
if ($resArr['rspCode'] != '0000') {
|
|
|
+ $order->original_import_params = json_encode($reqObjBase, JSON_UNESCAPED_UNICODE);
|
|
|
$order->import_params = json_encode($reqParam);
|
|
|
$order->export_params = $result;
|
|
|
$order->save();
|