|
@@ -215,6 +215,10 @@ class Seller extends Common |
|
@@ -215,6 +215,10 @@ class Seller extends Common |
|
215
|
$add=Db::query("INSERT INTO `xt-member-two-LINE`.xt_dc_dz_seller_label_c_rel VALUES(".$data['sellerid'].",".$label_3_.")");
|
215
|
$add=Db::query("INSERT INTO `xt-member-two-LINE`.xt_dc_dz_seller_label_c_rel VALUES(".$data['sellerid'].",".$label_3_.")");
|
|
216
|
}
|
216
|
}
|
|
217
|
|
217
|
|
|
|
|
218
|
+ if(isset($data['edition'])){
|
|
|
|
219
|
+ $up=Db::query("UPDATE `xt-member-two-LINE`.xt_seller set is_online_reserve = ".$data['edition']." where id = ".$data['sellerid']);
|
|
|
|
220
|
+ }
|
|
|
|
221
|
+
|
|
218
|
|
222
|
|
|
219
|
$result['code'] = 1;
|
223
|
$result['code'] = 1;
|
|
220
|
$result['msg'] = "配置成功!";
|
224
|
$result['msg'] = "配置成功!";
|
|
@@ -315,6 +319,10 @@ class Seller extends Common |
|
@@ -315,6 +319,10 @@ class Seller extends Common |
|
315
|
}
|
319
|
}
|
|
316
|
$this->assign('brand',$brand);
|
320
|
$this->assign('brand',$brand);
|
|
317
|
|
321
|
|
|
|
|
322
|
+ //获取商家在线预定版本情况
|
|
|
|
323
|
+ $is_online_reserve=Db::table("xt-member-two-LINE.xt_seller")->where(array('id'=>$data['id']))->select();
|
|
|
|
324
|
+ $this->assign('is_online_reserve',$is_online_reserve[0]['is_online_reserve']);
|
|
|
|
325
|
+
|
|
318
|
//商户信息
|
326
|
//商户信息
|
|
319
|
$this->assign ('data',$data);
|
327
|
$this->assign ('data',$data);
|
|
320
|
$this->assign ( 'title','商户信息配置' );
|
328
|
$this->assign ( 'title','商户信息配置' );
|