...
|
...
|
@@ -221,12 +221,11 @@ class Registers extends Backend |
|
|
$row[$fieldArr[$k]] = $v;
|
|
|
}
|
|
|
}
|
|
|
dump($row);
|
|
|
if($order_flag == 0){
|
|
|
//套餐订单表
|
|
|
//判断是新增还是更新
|
|
|
$res1 = Db::name('order')->where(['order_sn'=>$row['order_sn']])->field('id')->find();
|
|
|
dump($res1);
|
|
|
// dump($res1);
|
|
|
if($res1){
|
|
|
//更新
|
|
|
$row['id'] = $res1['id'];
|
...
|
...
|
|