作者 张关杰

Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -320,7 +320,7 @@ class FileController @@ -320,7 +320,7 @@ class FileController
320 $this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m'); 320 $this->path = $this->uploads['path_a'].'/'.$this->file_type[$this->param['refer']].'/'.date('Y-m');
321 }else{ 321 }else{
322 //B端上传 322 //B端上传
323 - if(!isset($this->param['upload_method']) && $this->param['upload_method'] == 1){ 323 + if(isset($this->param['upload_method']) && $this->param['upload_method'] == 1){
324 //强制上传本地配置 324 //强制上传本地配置
325 $this->upload_location = 0; 325 $this->upload_location = 0;
326 }else{ 326 }else{
@@ -157,6 +157,7 @@ class BTemplateLogic extends BaseLogic @@ -157,6 +157,7 @@ class BTemplateLogic extends BaseLogic
157 */ 157 */
158 public function getModuleType(): array 158 public function getModuleType(): array
159 { 159 {
  160 + //前端会回传:products:1,news:2,blogs:3,productCategory:4
160 //定义数据结构 161 //定义数据结构
161 $data = [ 162 $data = [
162 "products"=>[ 163 "products"=>[