优化代码
This commit is contained in:
parent
f5bb8e9ca1
commit
ad08408de3
|
|
@ -13,6 +13,9 @@ import org.springframework.web.bind.annotation.*;
|
|||
import javax.annotation.Resource;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 字典数据配置管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/setting/dict/data")
|
||||
public class DictDataController {
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ import org.springframework.web.bind.annotation.*;
|
|||
import javax.annotation.Resource;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 字典类型配置管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/setting/dict/type")
|
||||
public class DictTypeController {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ import org.springframework.web.bind.annotation.*;
|
|||
import javax.annotation.Resource;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 政策协议配置管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/setting/protocol")
|
||||
public class ProtocolController {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ import javax.annotation.Resource;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 存储方式配置管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/setting/storage")
|
||||
public class StorageController {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ import org.springframework.web.bind.annotation.*;
|
|||
import javax.annotation.Resource;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 网站信息配置管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/setting/website")
|
||||
public class WebsiteController {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,9 @@ import javax.annotation.Resource;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 系统岗位管理
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system/post")
|
||||
public class AuthPostController {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 文章分类服务类接口
|
||||
* 文章分类服接口务类
|
||||
*/
|
||||
public interface IArticleCategoryService {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
package com.hxkj.admin.service.setting.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.hxkj.admin.service.setting.ISettingCopyrightService;
|
||||
import com.hxkj.common.utils.ArrayUtil;
|
||||
import com.hxkj.common.utils.ConfigUtil;
|
||||
import com.hxkj.common.utils.StringUtil;
|
||||
import com.hxkj.common.utils.ToolsUtil;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.*;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
|
|||
import java.util.*;
|
||||
|
||||
/**
|
||||
* 存储配置实现类
|
||||
* 存储配置服务实现类
|
||||
*/
|
||||
@Service
|
||||
public class SettingStorageServiceImpl implements ISettingStorageService {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import javax.annotation.Resource;
|
|||
import java.util.*;
|
||||
|
||||
/**
|
||||
* 系统管理员实现类
|
||||
* 系统管理员服务实现类
|
||||
*/
|
||||
@Service
|
||||
public class SystemAuthAdminServiceImpl implements ISystemAuthAdminService {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 系统部门服务实现类
|
||||
*/
|
||||
@Service
|
||||
class SystemAuthDeptServiceImpl implements ISystemAuthDeptService {
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 系统菜单服务实现类
|
||||
*/
|
||||
@Service
|
||||
public class SystemAuthMenuServiceImpl implements ISystemAuthMenuService {
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import java.util.LinkedList;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 系统菜单服务实现类
|
||||
* 系统权限服务实现类
|
||||
*/
|
||||
@Service
|
||||
public class SystemAuthPermServiceImpl implements ISystemAuthPermService {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 系统岗位服务实现类
|
||||
*/
|
||||
@Service
|
||||
public class SystemAuthPostServiceImpl implements ISystemAuthPostService {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue