Commit 7c3579f9 by 崔亮

修改配置

parent 3bba0276
...@@ -17,7 +17,7 @@ import com.senthink.rmi.challenger.response.Message; ...@@ -17,7 +17,7 @@ import com.senthink.rmi.challenger.response.Message;
@FeignClient(value = "challenger", fallback = EllaIndexHystrix.class) @FeignClient(value = "challenger", fallback = EllaIndexHystrix.class)
public interface EllaIndexRemoteService { public interface EllaIndexRemoteService {
@RequestMapping(value = "/{id}/{order}", method = RequestMethod.POST) @RequestMapping(value = "/challenger/{id}/{order}", method = RequestMethod.POST)
Message getIndex(@PathVariable Integer id, @PathVariable Integer order); Message getIndex(@PathVariable Integer id, @PathVariable Integer order);
} }
\ No newline at end of file
...@@ -22,18 +22,18 @@ import io.swagger.annotations.ApiOperation; ...@@ -22,18 +22,18 @@ import io.swagger.annotations.ApiOperation;
public interface EllaOrgStructureRemoteService { public interface EllaOrgStructureRemoteService {
@ApiOperation(value = "获取组织架构列表") @ApiOperation(value = "获取组织架构列表")
@RequestMapping(value = { "/org/index", "/org/list", "/back/org/list" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/org/index", "/challenger/org/list", "/challenger/back/org/list" }, method = RequestMethod.POST)
Message index(); Message index();
@ApiOperation(value = "获取组织架构单个节点的信息") @ApiOperation(value = "获取组织架构单个节点的信息")
@RequestMapping(value = "/org/toUpdate/", method = RequestMethod.GET) @RequestMapping(value = "/challenger/org/toUpdate/", method = RequestMethod.GET)
Message toUpdate(@RequestBody EllaOrgStructureVo vo); Message toUpdate(@RequestBody EllaOrgStructureVo vo);
@ApiOperation(value = "保存或更新该节点信息") @ApiOperation(value = "保存或更新该节点信息")
@RequestMapping(value = "/org/doAddOrUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/org/doAddOrUpdate", method = RequestMethod.POST)
Message doAddOrUpdate(@RequestBody EllaOrgStructureVo vo); Message doAddOrUpdate(@RequestBody EllaOrgStructureVo vo);
@RequestMapping(value = "/org/doDelete/{id}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/org/doDelete/{id}", method = RequestMethod.GET)
Message doDelete(@PathVariable Integer id); Message doDelete(@PathVariable Integer id);
} }
\ No newline at end of file
...@@ -22,25 +22,25 @@ import io.swagger.annotations.ApiOperation; ...@@ -22,25 +22,25 @@ import io.swagger.annotations.ApiOperation;
public interface EllaPagePermissionRemoteService { public interface EllaPagePermissionRemoteService {
@ApiOperation(value = "获取权限列表") @ApiOperation(value = "获取权限列表")
@RequestMapping(value = { "/pageper/index", "/pageper/list", "/back/pageper/list" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/pageper/index", "/challenger/pageper/list", "/challenger/back/pageper/list" }, method = RequestMethod.POST)
Message index(); Message index();
@RequestMapping(value = { "/pageper/searchList" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/pageper/searchList" }, method = RequestMethod.POST)
Message searchList(EllaPagePermissionVo vo); Message searchList(EllaPagePermissionVo vo);
@ApiOperation(value = "获取当前节点信息,或插入") @ApiOperation(value = "获取当前节点信息,或插入")
@RequestMapping(value = "/pageper/toUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/pageper/toUpdate", method = RequestMethod.POST)
Message toUpdate(@RequestBody EllaPagePermissionVo pageperVo); Message toUpdate(@RequestBody EllaPagePermissionVo pageperVo);
@ApiOperation("更新节点信息") @ApiOperation("更新节点信息")
@RequestMapping(value = "/pageper/doAddOrUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/pageper/doAddOrUpdate", method = RequestMethod.POST)
Message doAddOrUpdate(@RequestBody EllaPagePermissionVo vo); Message doAddOrUpdate(@RequestBody EllaPagePermissionVo vo);
@ApiOperation("删除当前节点") @ApiOperation("删除当前节点")
@RequestMapping(value = "/pageper/doDelete/{id}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/pageper/doDelete/{id}", method = RequestMethod.GET)
Message doDelete(@PathVariable Integer id); Message doDelete(@PathVariable Integer id);
@RequestMapping(value = "/pageper/getPermissionTree", method = RequestMethod.GET) @RequestMapping(value = "/challenger/pageper/getPermissionTree", method = RequestMethod.GET)
Message getPermissionTree(); Message getPermissionTree();
} }
\ No newline at end of file
...@@ -22,22 +22,22 @@ import io.swagger.annotations.ApiOperation; ...@@ -22,22 +22,22 @@ import io.swagger.annotations.ApiOperation;
public interface EllaRoleRemoteService { public interface EllaRoleRemoteService {
@ApiOperation("角色列表") @ApiOperation("角色列表")
@RequestMapping(value = { "/role/searchList", "/back/role/list" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/role/searchList", "/challenger/back/role/list" }, method = RequestMethod.POST)
Message searchList(@RequestBody EllaRoleVo vo); Message searchList(@RequestBody EllaRoleVo vo);
@RequestMapping(value = "/role/toAdd/{id}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/role/toAdd/{id}", method = RequestMethod.GET)
Message toAdd(@PathVariable Integer id); Message toAdd(@PathVariable Integer id);
@RequestMapping(value = "/role/toUpdate/{roleId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/role/toUpdate/{roleId}", method = RequestMethod.GET)
Message toUpdate(@PathVariable Integer roleId, String loginName); Message toUpdate(@PathVariable Integer roleId, String loginName);
@RequestMapping(value = "/role/doAddOrUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/role/doAddOrUpdate", method = RequestMethod.POST)
Message doAddOrUpdate(@RequestBody EllaRoleVo vo); Message doAddOrUpdate(@RequestBody EllaRoleVo vo);
@RequestMapping(value = "/role/doDelete/{id}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/role/doDelete/{id}", method = RequestMethod.GET)
Message doDelete(@PathVariable Integer id); Message doDelete(@PathVariable Integer id);
@RequestMapping(value = "/role/toDetail/{roleId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/role/toDetail/{roleId}", method = RequestMethod.GET)
Message toDetail(@PathVariable Integer roleId); Message toDetail(@PathVariable Integer roleId);
} }
\ No newline at end of file
...@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation; ...@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation;
public interface EllaSubsystemRemoteService { public interface EllaSubsystemRemoteService {
@ApiOperation("查询") @ApiOperation("查询")
@RequestMapping(value = { "/subsystem/searchList", "/back/subsystem/list" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/subsystem/searchList", "/challenger/back/subsystem/list" }, method = RequestMethod.POST)
Message searchList(@RequestBody EllaSubsystemVo vo); Message searchList(@RequestBody EllaSubsystemVo vo);
@ApiOperation("根据id获取要更新的系统信息") @ApiOperation("根据id获取要更新的系统信息")
@RequestMapping(value = "/subsystem/toUpdate/{subsystemId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/subsystem/toUpdate/{subsystemId}", method = RequestMethod.GET)
Message toUpdate(@PathVariable Integer subsystemId); Message toUpdate(@PathVariable Integer subsystemId);
@ApiOperation("更新或插入操作") @ApiOperation("更新或插入操作")
@RequestMapping(value = "/subsystem/doAddOrUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/subsystem/doAddOrUpdate", method = RequestMethod.POST)
Message doAddOrUpdate(@RequestBody EllaSubsystemVo vo); Message doAddOrUpdate(@RequestBody EllaSubsystemVo vo);
@ApiOperation("删除操作") @ApiOperation("删除操作")
@RequestMapping(value = "/subsystem/doDelete/{id}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/subsystem/doDelete/{id}", method = RequestMethod.GET)
Message doDelete(@PathVariable Integer id); Message doDelete(@PathVariable Integer id);
} }
\ No newline at end of file
...@@ -20,19 +20,19 @@ import com.senthink.rmi.challenger.vo.EllaSubsystemSyncVo; ...@@ -20,19 +20,19 @@ import com.senthink.rmi.challenger.vo.EllaSubsystemSyncVo;
@FeignClient(value = "challenger", fallback = EllaSubsystemSyncHystrix.class) @FeignClient(value = "challenger", fallback = EllaSubsystemSyncHystrix.class)
public interface EllaSubsystemSyncRemoteService { public interface EllaSubsystemSyncRemoteService {
@RequestMapping(value = { "/subsystemsync/list", "/back/subsystemsync/list" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/subsystemsync/list", "/challenger/back/subsystemsync/list" }, method = RequestMethod.POST)
Message index(); Message index();
@RequestMapping(value = "/subsystemsync/toUpdate/{subsystemId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/subsystemsync/toUpdate/{subsystemId}", method = RequestMethod.GET)
Message toUpdate(@PathVariable Integer subsystemId); Message toUpdate(@PathVariable Integer subsystemId);
@RequestMapping(value = { "/subsystemsync/doAddOrUpdate" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/subsystemsync/doAddOrUpdate" }, method = RequestMethod.POST)
Message doAddOrUpdate(@Valid EllaSubsystemSyncVo vo); Message doAddOrUpdate(@Valid EllaSubsystemSyncVo vo);
@RequestMapping(value = "/subsystemsync/doDelete/{id}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/subsystemsync/doDelete/{id}", method = RequestMethod.GET)
Message doDelete(@PathVariable Integer id); Message doDelete(@PathVariable Integer id);
@RequestMapping(value = { "/subsystemsync/searchList" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/subsystemsync/searchList" }, method = RequestMethod.POST)
Message searchList(EllaSubsystemSyncVo vo); Message searchList(EllaSubsystemSyncVo vo);
} }
\ No newline at end of file
...@@ -24,38 +24,38 @@ import com.senthink.rmi.challenger.vo.UserUpdatePwdVo; ...@@ -24,38 +24,38 @@ import com.senthink.rmi.challenger.vo.UserUpdatePwdVo;
@FeignClient(value = "challenger", fallback = EllaUserBaseHystrix.class) @FeignClient(value = "challenger", fallback = EllaUserBaseHystrix.class)
public interface EllaUserBaseRemoteService { public interface EllaUserBaseRemoteService {
@RequestMapping(value = { "/user/list", "/user/index" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/user/list", "/challenger/user/index" }, method = RequestMethod.GET)
Message index(); Message index();
@RequestMapping(value = { "admin/user/list", "/back/user/list" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/admin/user/list", "/challenger/back/user/list" }, method = RequestMethod.GET)
Message adminPage(@RequestBody EllaUserBaseVo vo); Message adminPage(@RequestBody EllaUserBaseVo vo);
@RequestMapping(value = { "normal/user/list", "/back/consumer/list" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/normal/user/list", "/back/consumer/list" }, method = RequestMethod.GET)
Message normalPage(@RequestBody EllaUserBaseVo vo); Message normalPage(@RequestBody EllaUserBaseVo vo);
@RequestMapping(value = { "/user/searchList" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/user/searchList" }, method = RequestMethod.POST)
Message dealerSearchList(@RequestBody EllaUserBaseVo vo); Message dealerSearchList(@RequestBody EllaUserBaseVo vo);
@RequestMapping(value = "/user/toAdd", method = RequestMethod.GET) @RequestMapping(value = "/challenger/user/toAdd", method = RequestMethod.GET)
Message toAdd(); Message toAdd();
@RequestMapping(value = "/user/toUpdate/{userId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/user/toUpdate/{userId}", method = RequestMethod.GET)
Message toUpdate(@PathVariable Integer userId, HttpServletRequest request); Message toUpdate(@PathVariable Integer userId, HttpServletRequest request);
@RequestMapping(value = "/user/doAddOrUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/user/doAddOrUpdate", method = RequestMethod.POST)
Message doAddOrUpdate(@RequestBody EllaUserBaseVo vo, String roles, String extendIds, String extendValues, Message doAddOrUpdate(@RequestBody EllaUserBaseVo vo, String roles, String extendIds, String extendValues,
String orgs, @RequestParam(value = "file", required = false) MultipartFile file); String orgs, @RequestParam(value = "file", required = false) MultipartFile file);
@RequestMapping(value = { "/user/disable/{id}" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/user/disable/{id}" }, method = RequestMethod.GET)
Message disableUser(@PathVariable Integer id); Message disableUser(@PathVariable Integer id);
@RequestMapping(value = { "/user/enable/{id}" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/user/enable/{id}" }, method = RequestMethod.GET)
Message enableUser(@PathVariable Integer id); Message enableUser(@PathVariable Integer id);
@RequestMapping(value = { "/user/updatePass" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/user/updatePass" }, method = RequestMethod.POST)
Message updatePass(@RequestBody UserUpdatePwdVo vo); Message updatePass(@RequestBody UserUpdatePwdVo vo);
@RequestMapping(value = { "/user/passCheck" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/user/passCheck" }, method = RequestMethod.POST)
Message passCheck(@RequestBody EllaUserBaseVo vo); Message passCheck(@RequestBody EllaUserBaseVo vo);
} }
\ No newline at end of file
...@@ -23,23 +23,23 @@ import io.swagger.annotations.ApiOperation; ...@@ -23,23 +23,23 @@ import io.swagger.annotations.ApiOperation;
@FeignClient(value = "challenger", fallback = EllaUserExtendsHystrix.class) @FeignClient(value = "challenger", fallback = EllaUserExtendsHystrix.class)
public interface EllaUserExtendsRemoteService { public interface EllaUserExtendsRemoteService {
@RequestMapping(value = { "/userextends/searchList" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/userextends/searchList" }, method = RequestMethod.POST)
Message searchList(EllaUserExtendsVo vo); Message searchList(EllaUserExtendsVo vo);
@ApiOperation("根据用户类型查询扩展属性") @ApiOperation("根据用户类型查询扩展属性")
@RequestMapping(value = { "/userextends/list/{userTypeId}" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/userextends/list/{userTypeId}" }, method = RequestMethod.GET)
Message index(@PathVariable Integer userTypeId); Message index(@PathVariable Integer userTypeId);
@RequestMapping(value = "/userextends/toAdd/{userTypeId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/userextends/toAdd/{userTypeId}", method = RequestMethod.GET)
Message toAdd(@PathVariable Integer userTypeId); Message toAdd(@PathVariable Integer userTypeId);
@RequestMapping("/userextends/doAdd") @RequestMapping("/challenger/userextends/doAdd")
Message doAdd(@Valid EllaUserExtendsVo vo); Message doAdd(@Valid EllaUserExtendsVo vo);
@RequestMapping(value = { "/userextends/doDelete" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/userextends/doDelete" }, method = RequestMethod.POST)
Message doDelete(HttpServletRequest request); Message doDelete(HttpServletRequest request);
@RequestMapping(value = "/userextends/getByUserTypeId", method = RequestMethod.POST) @RequestMapping(value = "/challenger/userextends/getByUserTypeId", method = RequestMethod.POST)
Message getByUserTypeId(@Valid Integer userTypeId); Message getByUserTypeId(@Valid Integer userTypeId);
} }
\ No newline at end of file
...@@ -19,16 +19,16 @@ import com.senthink.rmi.challenger.vo.EllaUserTypeVo; ...@@ -19,16 +19,16 @@ import com.senthink.rmi.challenger.vo.EllaUserTypeVo;
@FeignClient(value = "challenger", fallback = EllaUserTypeHystrix.class) @FeignClient(value = "challenger", fallback = EllaUserTypeHystrix.class)
public interface EllaUserTypeRemoteService { public interface EllaUserTypeRemoteService {
@RequestMapping(value = { "/usertype/searchList", "/back/usertype/list" }, method = RequestMethod.POST) @RequestMapping(value = { "/challenger/usertype/searchList", "/challenger/back/usertype/list" }, method = RequestMethod.POST)
Message searchList(@RequestBody EllaUserTypeVo vo); Message searchList(@RequestBody EllaUserTypeVo vo);
@RequestMapping(value = "/usertype/toUpdate/{userTypeId}", method = RequestMethod.GET) @RequestMapping(value = "/challenger/usertype/toUpdate/{userTypeId}", method = RequestMethod.GET)
Message toUpdate(@PathVariable Integer userTypeId); Message toUpdate(@PathVariable Integer userTypeId);
@RequestMapping(value = "/usertype/doAddOrUpdate", method = RequestMethod.POST) @RequestMapping(value = "/challenger/usertype/doAddOrUpdate", method = RequestMethod.POST)
Message doAddOrUpdate(@RequestBody EllaUserTypeVo vo); Message doAddOrUpdate(@RequestBody EllaUserTypeVo vo);
@RequestMapping(value = { "/usertype/doDelete/{id}" }, method = RequestMethod.GET) @RequestMapping(value = { "/challenger/usertype/doDelete/{id}" }, method = RequestMethod.GET)
Message doDelete(@PathVariable Integer id); Message doDelete(@PathVariable Integer id);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment