作者 张关杰

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

@@ -153,7 +153,7 @@ class BaseController extends Controller @@ -153,7 +153,7 @@ class BaseController extends Controller
153 $cos = new CosService(); 153 $cos = new CosService();
154 $url = $cos->getImageUrl($info['path']); 154 $url = $cos->getImageUrl($info['path']);
155 }else{ 155 }else{
156 - $url = url('b/image/'.$info['hash']); 156 + $url = url('a/image/'.$info['hash']);
157 } 157 }
158 return $url; 158 return $url;
159 } 159 }
@@ -172,7 +172,7 @@ class BaseController extends Controller @@ -172,7 +172,7 @@ class BaseController extends Controller
172 $cos = new CosService(); 172 $cos = new CosService();
173 $url = $cos->getImageUrl($info['path']); 173 $url = $cos->getImageUrl($info['path']);
174 }else{ 174 }else{
175 - $url = url('b/file_hash/'.$info['hash']); 175 + $url = url('a/file/'.$info['hash']);
176 } 176 }
177 return $url; 177 return $url;
178 } 178 }
1 <?php 1 <?php
2 2
3 -namespace App\Http\Controllers\Aside\Project; 3 +namespace App\Http\Controllers\Aside\Optimize;
4 4
5 use App\Http\Controllers\Aside\BaseController; 5 use App\Http\Controllers\Aside\BaseController;
6 6
7 /** 7 /**
8 - * @remark :项目关键词 8 + * @remark :关键字查询案例
9 * @class :KeywordsController.php 9 * @class :KeywordsController.php
10 * @author :lyh 10 * @author :lyh
11 * @time :2023/7/17 9:51 11 * @time :2023/7/17 9:51
@@ -19,7 +19,7 @@ class KeywordsController extends BaseController @@ -19,7 +19,7 @@ class KeywordsController extends BaseController
19 * @method :post 19 * @method :post
20 * @time :2023/7/17 9:52 20 * @time :2023/7/17 9:52
21 */ 21 */
22 - public function getKeywordCase(){ 22 + public function getSearchKeyword(){
23 23
24 } 24 }
25 } 25 }
@@ -352,7 +352,7 @@ class FileController @@ -352,7 +352,7 @@ class FileController
352 $cos = new CosService(); 352 $cos = new CosService();
353 $url = $cos->getImageUrl($info['path']); 353 $url = $cos->getImageUrl($info['path']);
354 }else{ 354 }else{
355 - $url = url('b/file_hash/'.$info['hash']); 355 + $url = url('a/file/'.$info['hash']);
356 } 356 }
357 return $url; 357 return $url;
358 } 358 }
@@ -403,7 +403,7 @@ class Logic @@ -403,7 +403,7 @@ class Logic
403 $cos = new CosService(); 403 $cos = new CosService();
404 $url = $cos->getImageUrl($info['path']); 404 $url = $cos->getImageUrl($info['path']);
405 }else{ 405 }else{
406 - $url = url('b/image/'.$info['hash']); 406 + $url = url('a/image/'.$info['hash']);
407 } 407 }
408 } 408 }
409 409
1 -<?php  
2 -  
3 -namespace App\Models\Bside;  
4 -  
5 -use App\Models\Base;  
6 -  
7 -/**  
8 - * 模板 头部底部 客户自己的  
9 - * @author:dc  
10 - * @time 2023/4/26 11:21  
11 - * Class TemplateHeaderFooter  
12 - * @package App\Models\Bside  
13 - */  
14 -class TemplateHeaderFooter extends Base  
15 -{  
16 - protected $table = 'gl_bside_template_header_footer';  
17 -}  
1 -<?php  
2 -  
3 -namespace App\Models\Project;  
4 -  
5 -use App\Models\Base;  
6 -  
7 -/**  
8 - * @remark :项目关键字  
9 - * @class :Keywords.php  
10 - * @author :lyh  
11 - * @time :2023/7/17 9:46  
12 - */  
13 -class Keywords extends Base  
14 -{  
15 - protected $table = 'gl_project_keyword';  
16 -}  
@@ -12,19 +12,19 @@ class ProcessRecords extends Base @@ -12,19 +12,19 @@ class ProcessRecords extends Base
12 protected $table = 'gl_project_process_records'; 12 protected $table = 'gl_project_process_records';
13 13
14 public function setRecordAttribute($value){ 14 public function setRecordAttribute($value){
15 - foreach ($value as &$v){  
16 - $v['image'] = Upload::url2path($v['image']);  
17 - $v['file'] = Upload::url2path($v['file']);  
18 - } 15 +// foreach ($value as &$v){
  16 +// $v['image'] = Upload::url2path($v['image']);
  17 +// $v['file'] = Upload::url2path($v['file']);
  18 +// }
19 $this->attributes['record'] = Arr::a2s($value); 19 $this->attributes['record'] = Arr::a2s($value);
20 } 20 }
21 21
22 public function getRecordAttribute($value){ 22 public function getRecordAttribute($value){
23 $value = Arr::s2a($value); 23 $value = Arr::s2a($value);
24 - foreach ($value as &$v){  
25 - $v['image'] = Upload::path2url($v['image']);  
26 - $v['file'] = Upload::path2url($v['file']);  
27 - } 24 +// foreach ($value as &$v){
  25 +// $v['image'] = Upload::path2url($v['image']);
  26 +// $v['file'] = Upload::path2url($v['file']);
  27 +// }
28 return $value; 28 return $value;
29 } 29 }
30 30