@@ -15,14 +15,14 @@ |
||
15 | 15 | $request->setPageNumber(1); |
16 | 16 | $request->setPageSize(1); |
17 | 17 | $request->setPlanId(1); |
18 | -try{ |
|
18 | +try { |
|
19 | 19 | $response = $client->syncInvoke($request); |
20 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
20 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
21 | 21 | echo $e->getMessage(); |
22 | 22 | exit; |
23 | 23 | } |
24 | 24 | $content = $response->getContent(); |
25 | -if(isset($content['error_response'])){ |
|
25 | +if (isset($content['error_response'])) { |
|
26 | 26 | echo "异常返回"; |
27 | 27 | } |
28 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
29 | 28 | \ No newline at end of file |
29 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
30 | 30 | \ No newline at end of file |
@@ -15,14 +15,14 @@ |
||
15 | 15 | $request->setOrderSn('str'); |
16 | 16 | $request->setOuterOrderSn('str'); |
17 | 17 | $request->setStatus('str'); |
18 | -try{ |
|
18 | +try { |
|
19 | 19 | $response = $client->syncInvoke($request); |
20 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
20 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
21 | 21 | echo $e->getMessage(); |
22 | 22 | exit; |
23 | 23 | } |
24 | 24 | $content = $response->getContent(); |
25 | -if(isset($content['error_response'])){ |
|
25 | +if (isset($content['error_response'])) { |
|
26 | 26 | echo "异常返回"; |
27 | 27 | } |
28 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
29 | 28 | \ No newline at end of file |
29 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
30 | 30 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddWmsOrderQueryRequest(); |
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 |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddOverseaClearanceGetRequest(); |
13 | 13 | |
14 | 14 | $request->setOrderSn('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 |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddEinvoiceVendorRuihongInvoiceGetRequest(); |
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 |
@@ -24,14 +24,14 @@ |
||
24 | 24 | $request->setTotalPay(1); |
25 | 25 | $request->setTotalSettlePrice(1); |
26 | 26 | $request->setTraceId('str'); |
27 | -try{ |
|
27 | +try { |
|
28 | 28 | $response = $client->syncInvoke($request); |
29 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
29 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
30 | 30 | echo $e->getMessage(); |
31 | 31 | exit; |
32 | 32 | } |
33 | 33 | $content = $response->getContent(); |
34 | -if(isset($content['error_response'])){ |
|
34 | +if (isset($content['error_response'])) { |
|
35 | 35 | echo "异常返回"; |
36 | 36 | } |
37 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
38 | 37 | \ No newline at end of file |
38 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
39 | 39 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddFdsOrderListGetRequest(); |
13 | 13 | |
14 | 14 | $request->setParamFdsOrderListGetRequest(); |
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 |
@@ -11,14 +11,14 @@ |
||
11 | 11 | |
12 | 12 | $request = new PddWmsDepotTicketProblemGetRequest(); |
13 | 13 | |
14 | -try{ |
|
14 | +try { |
|
15 | 15 | $response = $client->syncInvoke($request); |
16 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
16 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
17 | 17 | echo $e->getMessage(); |
18 | 18 | exit; |
19 | 19 | } |
20 | 20 | $content = $response->getContent(); |
21 | -if(isset($content['error_response'])){ |
|
21 | +if (isset($content['error_response'])) { |
|
22 | 22 | echo "异常返回"; |
23 | 23 | } |
24 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
25 | 24 | \ No newline at end of file |
25 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
26 | 26 | \ No newline at end of file |
@@ -13,14 +13,14 @@ |
||
13 | 13 | |
14 | 14 | $request->setAfterSalesId(1); |
15 | 15 | $request->setOrderSn('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 |