@@ -13,14 +13,14 @@ |
||
13 | 13 | |
14 | 14 | $request->setAdCreativeUpdateMessage(); |
15 | 15 | $request->setUnitCreativeId(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 |
@@ -14,14 +14,14 @@ |
||
14 | 14 | $request->setDataOperateStatus(1); |
15 | 15 | $request->setPlanIds(array(1)); |
16 | 16 | $request->setScenesType(1); |
17 | -try{ |
|
17 | +try { |
|
18 | 18 | $response = $client->syncInvoke($request); |
19 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
19 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
20 | 20 | echo $e->getMessage(); |
21 | 21 | exit; |
22 | 22 | } |
23 | 23 | $content = $response->getContent(); |
24 | -if(isset($content['error_response'])){ |
|
24 | +if (isset($content['error_response'])) { |
|
25 | 25 | echo "异常返回"; |
26 | 26 | } |
27 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
28 | 27 | \ No newline at end of file |
28 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
29 | 29 | \ No newline at end of file |
@@ -12,14 +12,14 @@ |
||
12 | 12 | $request = new PddGoodsSizespecTemplateAddRequest(); |
13 | 13 | |
14 | 14 | $request->setSizeSpecDto(); |
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 PddWmsInborderConfirmRequest(); |
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 |
@@ -14,14 +14,14 @@ |
||
14 | 14 | $request->setOrderId('str'); |
15 | 15 | $request->setPddOrderId('str'); |
16 | 16 | $request->setOrderInfos(); |
17 | -try{ |
|
17 | +try { |
|
18 | 18 | $response = $client->syncInvoke($request); |
19 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
19 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
20 | 20 | echo $e->getMessage(); |
21 | 21 | exit; |
22 | 22 | } |
23 | 23 | $content = $response->getContent(); |
24 | -if(isset($content['error_response'])){ |
|
24 | +if (isset($content['error_response'])) { |
|
25 | 25 | echo "异常返回"; |
26 | 26 | } |
27 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
28 | 27 | \ No newline at end of file |
28 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
29 | 29 | \ No newline at end of file |
@@ -27,14 +27,14 @@ |
||
27 | 27 | $request->setTrainNo('str'); |
28 | 28 | $request->setUseIdCardIn(1); |
29 | 29 | $request->setVendorTime('str'); |
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 |
@@ -17,14 +17,14 @@ |
||
17 | 17 | $request->setBatchStartTimeTo(1); |
18 | 18 | $request->setBatchStatus(1); |
19 | 19 | $request->setSortBy(1); |
20 | -try{ |
|
20 | +try { |
|
21 | 21 | $response = $client->syncInvoke($request); |
22 | -} catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
|
22 | +} catch (Com\Pdd\Pop\Sdk\PopHttpException $e) { |
|
23 | 23 | echo $e->getMessage(); |
24 | 24 | exit; |
25 | 25 | } |
26 | 26 | $content = $response->getContent(); |
27 | -if(isset($content['error_response'])){ |
|
27 | +if (isset($content['error_response'])) { |
|
28 | 28 | echo "异常返回"; |
29 | 29 | } |
30 | -echo json_encode($content,JSON_UNESCAPED_UNICODE); |
|
31 | 30 | \ No newline at end of file |
31 | +echo json_encode($content, JSON_UNESCAPED_UNICODE); |
|
32 | 32 | \ No newline at end of file |
@@ -13,14 +13,14 @@ |
||
13 | 13 | |
14 | 14 | $request->setPageNo(1); |
15 | 15 | $request->setPageSize(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 PddGoodsSizespecTemplateGetRequest(); |
13 | 13 | |
14 | 14 | $request->setId(1); |
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 |