调整配置文件,注释掉IP地址设置,优化角色状态修改接口的注解格式
This commit is contained in:
parent
2fbdced14d
commit
f5474bfbb6
|
|
@ -10,7 +10,7 @@ spring:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 14.103.246.124:8848
|
server-addr: 14.103.246.124:8848
|
||||||
namespace: material_mall_shanxi
|
namespace: material_mall_shanxi
|
||||||
ip: 192.168.0.69
|
# ip: 192.168.0.69
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 14.103.246.124:8848
|
server-addr: 14.103.246.124:8848
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spring:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 14.103.246.124:8848
|
server-addr: 14.103.246.124:8848
|
||||||
namespace: material_mall_shanxi
|
namespace: material_mall_shanxi
|
||||||
ip: 192.168.0.69
|
# ip: 192.168.0.69
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 14.103.246.124:8848
|
server-addr: 14.103.246.124:8848
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ public class SysRoleController extends BaseController
|
||||||
* 状态修改
|
* 状态修改
|
||||||
*/
|
*/
|
||||||
@RequiresPermissionsOrInnerAuth(innerAuth = @InnerAuth, requiresPermissions = @RequiresPermissions("system:role:edit"))
|
@RequiresPermissionsOrInnerAuth(innerAuth = @InnerAuth, requiresPermissions = @RequiresPermissions("system:role:edit"))
|
||||||
@PostMapping("/changeStatus")
|
@PostMapping("/changeStatus")
|
||||||
@SysLog(title = "角色管理", businessType = OperaType.UPDATE,logType = 0,module = "系统管理->角色管理",details = "修改角色状态")
|
@SysLog(title = "角色管理", businessType = OperaType.UPDATE,logType = 0,module = "系统管理->角色管理",details = "修改角色状态")
|
||||||
public AjaxResult changeStatus(@RequestBody SysRole role) {
|
public AjaxResult changeStatus(@RequestBody SysRole role) {
|
||||||
try{
|
try{
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ spring:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 14.103.246.124:8848
|
server-addr: 14.103.246.124:8848
|
||||||
namespace: material_mall_shanxi
|
namespace: material_mall_shanxi
|
||||||
ip: 192.168.0.69
|
# ip: 192.168.0.69
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 14.103.246.124:8848
|
server-addr: 14.103.246.124:8848
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue