修改控制器名称
This commit is contained in:
parent
e9f9b2c035
commit
d1b02d2c89
|
|
@ -1,7 +1,7 @@
|
|||
package com.hxkj.admin.controller.setting;
|
||||
|
||||
import com.hxkj.admin.config.aop.Log;
|
||||
import com.hxkj.admin.service.setting.IBasicsService;
|
||||
import com.hxkj.admin.service.setting.ISettingBasicsService;
|
||||
import com.hxkj.common.core.AjaxResult;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ import java.util.Map;
|
|||
public class BasicsController {
|
||||
|
||||
@Resource
|
||||
IBasicsService iBasicsService;
|
||||
ISettingBasicsService iBasicsService;
|
||||
|
||||
/**
|
||||
* “获取”网站信息
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package com.hxkj.admin.controller.setting;
|
||||
|
||||
import com.baomidou.mybatisplus.core.toolkit.Assert;
|
||||
import com.hxkj.admin.service.setting.IStorageService;
|
||||
import com.hxkj.admin.service.setting.ISettingStorageService;
|
||||
import com.hxkj.common.core.AjaxResult;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ import java.util.Map;
|
|||
public class StorageController {
|
||||
|
||||
@Resource
|
||||
IStorageService iStorageService;
|
||||
ISettingStorageService iStorageService;
|
||||
|
||||
/**
|
||||
* 存储列表
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import java.util.Map;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system/admin")
|
||||
public class SystemAdminController {
|
||||
public class AdminController {
|
||||
|
||||
@Resource
|
||||
ISystemAdminService iSystemAdminService;
|
||||
|
|
@ -18,7 +18,7 @@ import java.util.Map;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system/dept")
|
||||
public class SystemDeptController {
|
||||
public class DeptController {
|
||||
|
||||
@Resource
|
||||
ISystemDeptService iSystemDeptService;
|
||||
|
|
@ -20,7 +20,7 @@ import java.util.Map;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system/log")
|
||||
public class SystemLogController {
|
||||
public class LogController {
|
||||
|
||||
@Resource
|
||||
ISystemLogServer iSystemLogServer;
|
||||
|
|
@ -20,7 +20,7 @@ import java.util.Map;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system")
|
||||
public class SystemLoginController {
|
||||
public class LoginController {
|
||||
|
||||
@Resource
|
||||
ISystemLoginService iSystemLoginService;
|
||||
|
|
@ -18,7 +18,7 @@ import javax.annotation.Resource;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system/menu")
|
||||
public class SystemMenuController {
|
||||
public class MenuController {
|
||||
|
||||
@Resource
|
||||
ISystemMenuService iSystemMenuService;
|
||||
|
|
@ -16,7 +16,7 @@ import java.util.Map;
|
|||
|
||||
@RestController
|
||||
@RequestMapping("api/system/post")
|
||||
public class SystemPostController {
|
||||
public class PostController {
|
||||
|
||||
@Resource
|
||||
ISystemPostService iSystemPostService;
|
||||
|
|
@ -18,7 +18,7 @@ import javax.annotation.Resource;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("api/system/role")
|
||||
public class SystemRoleController {
|
||||
public class RoleController {
|
||||
|
||||
@Resource
|
||||
ISystemRoleService iSystemRoleService;
|
||||
|
|
@ -5,7 +5,7 @@ import java.util.Map;
|
|||
/**
|
||||
* 基础配置服务接口类
|
||||
*/
|
||||
public interface IBasicsService {
|
||||
public interface ISettingBasicsService {
|
||||
|
||||
/**
|
||||
* 获取网站信息
|
||||
|
|
@ -6,7 +6,7 @@ import java.util.Map;
|
|||
/**
|
||||
* 存储配置接口类
|
||||
*/
|
||||
public interface IStorageService {
|
||||
public interface ISettingStorageService {
|
||||
|
||||
/**
|
||||
* 存储列表
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.hxkj.admin.service.setting.impl;
|
||||
|
||||
import com.hxkj.admin.service.setting.IBasicsService;
|
||||
import com.hxkj.admin.service.setting.ISettingBasicsService;
|
||||
import com.hxkj.common.utils.ConfigUtil;
|
||||
import com.hxkj.common.utils.UrlUtil;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
@ -12,7 +12,7 @@ import java.util.Map;
|
|||
* 基础配置服务实现类
|
||||
*/
|
||||
@Service
|
||||
public class BasicsServiceImpl implements IBasicsService {
|
||||
public class SettingBasicsServiceImpl implements ISettingBasicsService {
|
||||
|
||||
/**
|
||||
* 获取网站信息
|
||||
|
|
@ -2,7 +2,7 @@ package com.hxkj.admin.service.setting.impl;
|
|||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Assert;
|
||||
import com.hxkj.admin.service.setting.IStorageService;
|
||||
import com.hxkj.admin.service.setting.ISettingStorageService;
|
||||
import com.hxkj.common.utils.ConfigUtil;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ import java.util.*;
|
|||
* 存储配置实现类
|
||||
*/
|
||||
@Service
|
||||
public class StorageServiceImpl implements IStorageService {
|
||||
public class SettingStorageServiceImpl implements ISettingStorageService {
|
||||
|
||||
/**
|
||||
* 存储列表
|
||||
|
|
@ -26,7 +26,7 @@ public class StorageServiceImpl implements IStorageService {
|
|||
List<Map<String, Object>> list = new LinkedList<>();
|
||||
|
||||
Map<String, Object> local = new LinkedHashMap<>();
|
||||
local.put("alias", "qiniu");
|
||||
local.put("alias", "local");
|
||||
local.put("describe", "存储在本地服务器");
|
||||
local.put("status", engine.equals("local") ? 1 : 0);
|
||||
list.add(local);
|
||||
Loading…
Reference in New Issue