作者 王智

baoxiu

... ... @@ -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 {
... ...