From 7118e58879011ec96bd084c6a93fd071fbbf1319 Mon Sep 17 00:00:00 2001
From: 王智 <wz@bronet.cn>
Date: Mon, 7 Sep 2020 09:11:26 +0800
Subject: [PATCH] baoxiu

---
 application/api/controller/Index.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/application/api/controller/Index.php b/application/api/controller/Index.php
index 07e4ce8..0e36a1b 100644
--- a/application/api/controller/Index.php
+++ b/application/api/controller/Index.php
@@ -238,9 +238,8 @@ class Index extends Api
         $xitong = Db::name('xitong')->where(['id' => $param['system']])->value('bianhao');
         //号码
         $order_sn = Db::name('baoxiudan')->order('id desc')->limit(1)->where('order_sn', 'like', '%' . $xitong . '%')->value('order_sn');
-        dump($order_sn);
         $arr = explode('-', $order_sn);
-        dump($arr[2]);
+        dump($arr[3]);
         if (empty($id)) {
             $num = '001';
         } else {
--
libgit2 0.24.0