zealerChina 1 year ago
parent
commit
836e4335c3
1 changed files with 7 additions and 4 deletions
  1. 7 4
      application/common/command/ZopOrderMsgCommand.php

+ 7 - 4
application/common/command/ZopOrderMsgCommand.php

@@ -18,8 +18,11 @@ class ZopOrderMsgCommand extends Command
     {
     {
         $this->output->info("开始获取联通订单消息");
         $this->output->info("开始获取联通订单消息");
 
 
-        ZopOrderService::orderMsg();
-
-        $this->output->info("获取联通订单消息结束");
+        $result = ZopOrderService::orderMsg();
+        if ($result['code'] == 0) {
+            $this->output->info("获取联通订单消息成功");
+        } else {
+            $this->output->info("获取联通订单消息失败: " . $result['message']);
+        }
     }
     }
-}
+}