...
|
...
|
@@ -173,7 +173,6 @@ class Registers extends Backend |
|
|
$fields[] = $val;
|
|
|
}
|
|
|
}
|
|
|
dump($fields);
|
|
|
if(in_array('订单编号',$fields)){
|
|
|
//套餐订单表
|
|
|
$this->model = new \app\admin\model\Order();
|
...
|
...
|
@@ -232,7 +231,7 @@ class Registers extends Backend |
|
|
$row['id'] = $res1['id'];
|
|
|
}
|
|
|
//根据手机号查询会员注册id
|
|
|
$res = Db::name('registers')->where('mobile',$values[7])->field('id')->find();
|
|
|
$res = Db::name('registers')->where('mobile',$values[8])->field('id')->find();
|
|
|
if($res){
|
|
|
$row['r_id'] = $res['id'];
|
|
|
}else{
|
...
|
...
|
|