|
@@ -9,6 +9,25 @@ echo BASE_ROOT_PATH."\n";
|
|
|
|
|
|
require_once (BASE_ROOT_PATH . '/fooder.php');
|
|
require_once (BASE_ROOT_PATH . '/fooder.php');
|
|
|
|
|
|
|
|
+$oms_ret = '{"apiCode":"success","apiDesc":"成功","hasnext":0,"data":[{"tid":8000000000002202,"type":null,"operationStatus":0,"status":null,"errorMessge":"买家昵称为空;"}]}';
|
|
|
|
+$oms_ret = '{"apiCode":"success","apiDesc":"成功","hasnext":0,"data":[{"tid":8000000000101202,"type":"insert","operationStatus":1,"status":1,"errorMessge":""}]}';
|
|
|
|
+$result = json_decode($oms_ret,true);
|
|
|
|
+
|
|
|
|
+if(!empty($result) && is_array($result))
|
|
|
|
+{
|
|
|
|
+ if($result['apiCode'] == 'success')
|
|
|
|
+ {
|
|
|
|
+ if(!empty($result['data']) && is_array($result['data']) && count($result['data']) > 0)
|
|
|
|
+ {
|
|
|
|
+ if(empty($result['data'][0]['status']) || $result['data'][0]['status'] != 1) {
|
|
|
|
+ Log::record("PUSHOMS ERR pay_sn=> {$pay_sn}",Log::ERR);
|
|
|
|
+ } else {
|
|
|
|
+ Log::record("PUSHOMS SUCCESS pay_sn=> {$pay_sn}",Log::DEBUG);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
echo $argv;
|
|
echo $argv;
|
|
|
|
|
|
function help_out()
|
|
function help_out()
|