|
@@ -2,6 +2,7 @@ |
|
@@ -2,6 +2,7 @@ |
|
2
|
|
2
|
|
|
3
|
namespace App\Http\Logic\Bside\Setting;
|
3
|
namespace App\Http\Logic\Bside\Setting;
|
|
4
|
|
4
|
|
|
|
|
5
|
+use App\Helper\Common;
|
|
5
|
use App\Http\Logic\Bside\BaseLogic;
|
6
|
use App\Http\Logic\Bside\BaseLogic;
|
|
6
|
use App\Models\File\Image;
|
7
|
use App\Models\File\Image;
|
|
7
|
use App\Models\WebSetting\WebSettingService;
|
8
|
use App\Models\WebSetting\WebSettingService;
|
|
@@ -36,6 +37,7 @@ class WebSettingServiceLogic extends BaseLogic |
|
@@ -36,6 +37,7 @@ class WebSettingServiceLogic extends BaseLogic |
|
36
|
*/
|
37
|
*/
|
|
37
|
public function setting_service_save(){
|
38
|
public function setting_service_save(){
|
|
38
|
try {
|
39
|
try {
|
|
|
|
40
|
+ $this->param['data'] = Common::uniqueMultiArray($this->param['data']);
|
|
39
|
//删除以前的数据
|
41
|
//删除以前的数据
|
|
40
|
$this->model->del(['project_id'=>$this->user['project_id']]);
|
42
|
$this->model->del(['project_id'=>$this->user['project_id']]);
|
|
41
|
foreach ($this->param['data'] as $k => $v){
|
43
|
foreach ($this->param['data'] as $k => $v){
|