$conf_type_lists=$confTypeModel->join(" A left join sh_sp_config B on A.`code` = B.type_code and B.sp_id = $id ")->field("A.id,A.`name`,A.remark,A.`code`,A.`v` default_v,B.`v`")->select();
$conf_type_lists=$confTypeModel->join(" A left join sh_sp_config B on A.`code` = B.type_code and B.sp_id = $id ")->field("A.id,A.`name`,A.remark,A.`code`,A.`v` default_v,B.`v`")->select();
$region_lists=$regionModel->where("pid = 1 and `status`=0")->select();
$region_lists=$regionModel->where("pid = 1 and `status`=0")->select();
$region_city_lists=$regionModel->where("pid > 1 and `status`=0")->select();
$region_city_lists=$regionModel->where("pid > 1 and `status`=0")->select();
$this->sp_lists=$sp_lists;
// $this->sp_lists = $sp_lists;
$this->conf_type_lists=$conf_type_lists;
$this->conf_type_lists=$conf_type_lists;
$this->region_lists=$region_lists;
$this->region_lists=$region_lists;
$this->region_city_lists=$region_city_lists;
$this->region_city_lists=$region_city_lists;
...
@@ -96,20 +96,20 @@ class SpAction extends CommonAction{
...
@@ -96,20 +96,20 @@ class SpAction extends CommonAction{