@@ -60,14 +60,14 @@ |
||
60 | 60 | $request->setWarehouse('str'); |
61 | 61 | $request->setWarmTips('str'); |
62 | 62 | $request->setZhiHuanBuXiu(1); |
63 | -try{ |
|
63 | +try { |
|
64 | 64 | $response = $client->syncInvoke($request); |
65 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
65 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
66 | 66 | echo $e->getMessage(); |
67 | 67 | exit; |
68 | 68 | } |
69 | 69 | $content = $response->getContent(); |
70 | -if(isset($content['error_response'])){ |
|
70 | +if (isset($content['error_response'])) { |
|
71 | 71 | echo "异常返回"; |
72 | 72 | } |
73 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
74 | 73 | \ No newline at end of file |
74 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
75 | 75 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddRefundStatusCheckRequest(); |
13 | 13 | |
14 | 14 | $request->setOrderSns('str'); |
15 | -try{ |
|
15 | +try { |
|
16 | 16 | $response = $client->syncInvoke($request); |
17 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
17 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
18 | 18 | echo $e->getMessage(); |
19 | 19 | exit; |
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | -if(isset($content['error_response'])){ |
|
22 | +if (isset($content['error_response'])) { |
|
23 | 23 | echo "异常返回"; |
24 | 24 | } |
25 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
26 | 25 | \ No newline at end of file |
26 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
27 | 27 | \ No newline at end of file |
@@ -27,14 +27,14 @@ |
||
27 | 27 | $request->setStoreNumber('str'); |
28 | 28 | $request->setStorePhone('str'); |
29 | 29 | $request->setTradeType(1); |
30 | -try{ |
|
30 | +try { |
|
31 | 31 | $response = $client->syncInvoke($request); |
32 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
32 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
33 | 33 | echo $e->getMessage(); |
34 | 34 | exit; |
35 | 35 | } |
36 | 36 | $content = $response->getContent(); |
37 | -if(isset($content['error_response'])){ |
|
37 | +if (isset($content['error_response'])) { |
|
38 | 38 | echo "异常返回"; |
39 | 39 | } |
40 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
41 | 40 | \ No newline at end of file |
41 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
42 | 42 | \ No newline at end of file |
@@ -13,14 +13,14 @@ |
||
13 | 13 | |
14 | 14 | $request->setAdId(1); |
15 | 15 | $request->setCreativeFlowRate(1); |
16 | -try{ |
|
16 | +try { |
|
17 | 17 | $response = $client->syncInvoke($request); |
18 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
18 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
19 | 19 | echo $e->getMessage(); |
20 | 20 | exit; |
21 | 21 | } |
22 | 22 | $content = $response->getContent(); |
23 | -if(isset($content['error_response'])){ |
|
23 | +if (isset($content['error_response'])) { |
|
24 | 24 | echo "异常返回"; |
25 | 25 | } |
26 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
27 | 26 | \ No newline at end of file |
27 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
28 | 28 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddOpenKmsEncryptBatchRequest(); |
13 | 13 | |
14 | 14 | $request->setDataList(); |
15 | -try{ |
|
15 | +try { |
|
16 | 16 | $response = $client->syncInvoke($request); |
17 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
17 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
18 | 18 | echo $e->getMessage(); |
19 | 19 | exit; |
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | -if(isset($content['error_response'])){ |
|
22 | +if (isset($content['error_response'])) { |
|
23 | 23 | echo "异常返回"; |
24 | 24 | } |
25 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
26 | 25 | \ No newline at end of file |
26 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
27 | 27 | \ No newline at end of file |
@@ -18,14 +18,14 @@ |
||
18 | 18 | $request->setRefundType(1); |
19 | 19 | $request->setRefundReason('str'); |
20 | 20 | $request->setPassengerInfoList(); |
21 | -try{ |
|
21 | +try { |
|
22 | 22 | $response = $client->syncInvoke($request); |
23 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
23 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
24 | 24 | echo $e->getMessage(); |
25 | 25 | exit; |
26 | 26 | } |
27 | 27 | $content = $response->getContent(); |
28 | -if(isset($content['error_response'])){ |
|
28 | +if (isset($content['error_response'])) { |
|
29 | 29 | echo "异常返回"; |
30 | 30 | } |
31 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
32 | 31 | \ No newline at end of file |
32 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
33 | 33 | \ No newline at end of file |
@@ -13,14 +13,14 @@ |
||
13 | 13 | |
14 | 14 | $request->setTraceId('str'); |
15 | 15 | $request->setTravelSn('str'); |
16 | -try{ |
|
16 | +try { |
|
17 | 17 | $response = $client->syncInvoke($request); |
18 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
18 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
19 | 19 | echo $e->getMessage(); |
20 | 20 | exit; |
21 | 21 | } |
22 | 22 | $content = $response->getContent(); |
23 | -if(isset($content['error_response'])){ |
|
23 | +if (isset($content['error_response'])) { |
|
24 | 24 | echo "异常返回"; |
25 | 25 | } |
26 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
27 | 26 | \ No newline at end of file |
27 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
28 | 28 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddWaybillUpdateRequest(); |
13 | 13 | |
14 | 14 | $request->setParamWaybillCloudPrintUpdateRequest(); |
15 | -try{ |
|
15 | +try { |
|
16 | 16 | $response = $client->syncInvoke($request); |
17 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
17 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
18 | 18 | echo $e->getMessage(); |
19 | 19 | exit; |
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | -if(isset($content['error_response'])){ |
|
22 | +if (isset($content['error_response'])) { |
|
23 | 23 | echo "异常返回"; |
24 | 24 | } |
25 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
26 | 25 | \ No newline at end of file |
26 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
27 | 27 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddWmsOrderstateSendRequest(); |
13 | 13 | |
14 | 14 | $request->setRequest(); |
15 | -try{ |
|
15 | +try { |
|
16 | 16 | $response = $client->syncInvoke($request); |
17 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
17 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
18 | 18 | echo $e->getMessage(); |
19 | 19 | exit; |
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | -if(isset($content['error_response'])){ |
|
22 | +if (isset($content['error_response'])) { |
|
23 | 23 | echo "异常返回"; |
24 | 24 | } |
25 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
26 | 25 | \ No newline at end of file |
26 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
27 | 27 | \ No newline at end of file |