Commit 353aba15 by wangxw1

rop服务方法名修改

1 parent 5e718fed
...@@ -34,7 +34,7 @@ public class LogController { ...@@ -34,7 +34,7 @@ public class LogController {
* @param logSearchRequest 入参 * @param logSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findLog", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findLog", needInSession = NeedInSessionType.NO)
@ApiOperation("查询字典类型") @ApiOperation("查询字典类型")
public RopResponse<Pagination<LogResponse>> findLog(LogSearchRequest logSearchRequest) { public RopResponse<Pagination<LogResponse>> findLog(LogSearchRequest logSearchRequest) {
try { try {
......
...@@ -49,7 +49,7 @@ public class LoginController { ...@@ -49,7 +49,7 @@ public class LoginController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.example.login", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.example.login", needInSession = NeedInSessionType.NO)
@ApiOperation("登录") @ApiOperation("登录")
public RopResponse<LoginResponse> login(LoginRequest request) { public RopResponse<LoginResponse> login(LoginRequest request) {
try { try {
...@@ -68,7 +68,7 @@ public class LoginController { ...@@ -68,7 +68,7 @@ public class LoginController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.example.logout", needInSession = NeedInSessionType.YES) @ServiceMethod(method = "merchants.api.example.logout", needInSession = NeedInSessionType.YES)
@ApiOperation("登出") @ApiOperation("登出")
public RopResponse<Boolean> logout(AbstractRopRequest request) { public RopResponse<Boolean> logout(AbstractRopRequest request) {
loginService.logout(request); loginService.logout(request);
......
...@@ -37,7 +37,7 @@ public class MerchantAccountTypeController { ...@@ -37,7 +37,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.list", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.list", needInSession = NeedInSessionType.NO)
@ApiOperation("账户类型获取列表接口") @ApiOperation("账户类型获取列表接口")
public RopResponse<List<AccountTypeResponse>> getAccountTypeList(AccountTypeListSearchRequest request) { public RopResponse<List<AccountTypeResponse>> getAccountTypeList(AccountTypeListSearchRequest request) {
try { try {
...@@ -54,7 +54,7 @@ public class MerchantAccountTypeController { ...@@ -54,7 +54,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.page", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.page", needInSession = NeedInSessionType.NO)
@ApiOperation("账户类型获取分页数据接口") @ApiOperation("账户类型获取分页数据接口")
public RopResponse<Pagination<AccountTypeResponse>> getAccountTypePage(AccountTypeListSearchRequest request) { public RopResponse<Pagination<AccountTypeResponse>> getAccountTypePage(AccountTypeListSearchRequest request) {
try { try {
...@@ -71,7 +71,7 @@ public class MerchantAccountTypeController { ...@@ -71,7 +71,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.getById", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.getById", needInSession = NeedInSessionType.NO)
@ApiOperation("根据id获取账户类型接口") @ApiOperation("根据id获取账户类型接口")
public RopResponse<AccountTypeResponse> getById(AccountTypeSearchRequest request) { public RopResponse<AccountTypeResponse> getById(AccountTypeSearchRequest request) {
try { try {
...@@ -88,7 +88,7 @@ public class MerchantAccountTypeController { ...@@ -88,7 +88,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.getProductTreeList", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.getProductTreeList", needInSession = NeedInSessionType.NO)
@ApiOperation("获取账户类型下产品菜单功能树") @ApiOperation("获取账户类型下产品菜单功能树")
public RopResponse<List<AccountTreeResponse>> getProductTreeList(AccountTypeSearchRequest request) { public RopResponse<List<AccountTreeResponse>> getProductTreeList(AccountTypeSearchRequest request) {
try { try {
...@@ -105,7 +105,7 @@ public class MerchantAccountTypeController { ...@@ -105,7 +105,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.deleteById", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.deleteById", needInSession = NeedInSessionType.NO)
@ApiOperation("根据id获取账户类型接口") @ApiOperation("根据id获取账户类型接口")
public RopResponse<Boolean> deleteById(AccountTypeDeleteRequest request) { public RopResponse<Boolean> deleteById(AccountTypeDeleteRequest request) {
try { try {
...@@ -122,7 +122,7 @@ public class MerchantAccountTypeController { ...@@ -122,7 +122,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.insert", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.insert", needInSession = NeedInSessionType.NO)
@ApiOperation("账户类型新增接口") @ApiOperation("账户类型新增接口")
public RopResponse<Boolean> insert(AccountTypeInsertRequest request) { public RopResponse<Boolean> insert(AccountTypeInsertRequest request) {
try { try {
...@@ -139,7 +139,7 @@ public class MerchantAccountTypeController { ...@@ -139,7 +139,7 @@ public class MerchantAccountTypeController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.accountType.update", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.accountype.update", needInSession = NeedInSessionType.NO)
@ApiOperation("账户类型更新接口") @ApiOperation("账户类型更新接口")
public RopResponse<Boolean> update(AccountTypeUpdateRequest request) { public RopResponse<Boolean> update(AccountTypeUpdateRequest request) {
try { try {
......
...@@ -40,7 +40,7 @@ public class MerchantCommonController { ...@@ -40,7 +40,7 @@ public class MerchantCommonController {
* @param defaultRequest * @param defaultRequest
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchantCommon.getCarbrandTree", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchantCommon.getCarbrandTree", needInSession = NeedInSessionType.NO)
@ApiOperation("获取车辆品牌树") @ApiOperation("获取车辆品牌树")
public RopResponse<List<CarbrandResponse>> getCarbrandTree(DefaultRequest defaultRequest) { public RopResponse<List<CarbrandResponse>> getCarbrandTree(DefaultRequest defaultRequest) {
try { try {
...@@ -57,7 +57,7 @@ public class MerchantCommonController { ...@@ -57,7 +57,7 @@ public class MerchantCommonController {
* @param abstractRopRequest * @param abstractRopRequest
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchantCommon.findAllChannel", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchantCommon.findAllChannel", needInSession = NeedInSessionType.NO)
@ApiOperation("获取渠道列表") @ApiOperation("获取渠道列表")
public RopResponse<List<ChannelResponse>> findAllChannel(AbstractRopRequest abstractRopRequest) { public RopResponse<List<ChannelResponse>> findAllChannel(AbstractRopRequest abstractRopRequest) {
try { try {
......
...@@ -40,7 +40,7 @@ public class MerchantController { ...@@ -40,7 +40,7 @@ public class MerchantController {
* @param merchantSaveRequest 入参 * @param merchantSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.saveMerchant", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.saveMerchant", needInSession = NeedInSessionType.NO)
@ApiOperation("保存商户基础信息") @ApiOperation("保存商户基础信息")
public RopResponse<Integer> saveMerchant(MerchantSaveRequest merchantSaveRequest) { public RopResponse<Integer> saveMerchant(MerchantSaveRequest merchantSaveRequest) {
try { try {
...@@ -58,7 +58,7 @@ public class MerchantController { ...@@ -58,7 +58,7 @@ public class MerchantController {
* @param merchantUpdateRequest 入参 * @param merchantUpdateRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.updateMerchant", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.updateMerchant", needInSession = NeedInSessionType.NO)
@ApiOperation("更新商户基础信息") @ApiOperation("更新商户基础信息")
public RopResponse<Boolean> updateMerchant(MerchantUpdateRequest merchantUpdateRequest) { public RopResponse<Boolean> updateMerchant(MerchantUpdateRequest merchantUpdateRequest) {
try { try {
...@@ -76,7 +76,7 @@ public class MerchantController { ...@@ -76,7 +76,7 @@ public class MerchantController {
* @param merchantTreeRequest 入参 * @param merchantTreeRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.savePermissions", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.savePermissions", needInSession = NeedInSessionType.NO)
@ApiOperation("保存商户权限信息") @ApiOperation("保存商户权限信息")
@PostMapping @PostMapping
public RopResponse<Boolean> savePermissions(@RequestBody MerchantTreeRopRequest merchantTreeRequest) { public RopResponse<Boolean> savePermissions(@RequestBody MerchantTreeRopRequest merchantTreeRequest) {
...@@ -95,7 +95,7 @@ public class MerchantController { ...@@ -95,7 +95,7 @@ public class MerchantController {
* @param merchantDetailRequest 入参 * @param merchantDetailRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.findMerchantDetail", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.findMerchantDetail", needInSession = NeedInSessionType.NO)
@ApiOperation("查询商户详情") @ApiOperation("查询商户详情")
public RopResponse<MerchantRopResponse> findMerchantDetail(MerchantDetailRequest merchantDetailRequest) { public RopResponse<MerchantRopResponse> findMerchantDetail(MerchantDetailRequest merchantDetailRequest) {
try { try {
...@@ -113,7 +113,7 @@ public class MerchantController { ...@@ -113,7 +113,7 @@ public class MerchantController {
* @param merchantTreeRequest 入参 * @param merchantTreeRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.updatePermissions", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.updatePermissions", needInSession = NeedInSessionType.NO)
@ApiOperation("更新商户权限信息") @ApiOperation("更新商户权限信息")
public RopResponse<Boolean> updatePermissions(@RequestBody MerchantTreeRopRequest merchantTreeRequest) { public RopResponse<Boolean> updatePermissions(@RequestBody MerchantTreeRopRequest merchantTreeRequest) {
try { try {
...@@ -131,7 +131,7 @@ public class MerchantController { ...@@ -131,7 +131,7 @@ public class MerchantController {
* @param merchantDetailRequest 入参 * @param merchantDetailRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.findMerchantTree", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.findMerchantTree", needInSession = NeedInSessionType.NO)
@ApiOperation("查询商户树") @ApiOperation("查询商户树")
public RopResponse<List<MerchantTreeRopResponse>> findMerchantTree(MerchantDetailRequest merchantDetailRequest) { public RopResponse<List<MerchantTreeRopResponse>> findMerchantTree(MerchantDetailRequest merchantDetailRequest) {
try { try {
...@@ -149,7 +149,7 @@ public class MerchantController { ...@@ -149,7 +149,7 @@ public class MerchantController {
* @param merchantDetailRequest 入参 * @param merchantDetailRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.findPermissionsByMerId", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.findPermissionsByMerId", needInSession = NeedInSessionType.NO)
@ApiOperation("查询商户的菜单权限") @ApiOperation("查询商户的菜单权限")
public RopResponse<List<AccountTypeTreeRopResponse>> findPermissionsByMerId(MerchantDetailRequest merchantDetailRequest) { public RopResponse<List<AccountTypeTreeRopResponse>> findPermissionsByMerId(MerchantDetailRequest merchantDetailRequest) {
try { try {
...@@ -167,7 +167,7 @@ public class MerchantController { ...@@ -167,7 +167,7 @@ public class MerchantController {
* @param accountTypeSearchRequest 入参 * @param accountTypeSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.accountTypeSearchRequest", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.accountTypeSearchRequest", needInSession = NeedInSessionType.NO)
@ApiOperation("获取账户类型下产品菜单功能树") @ApiOperation("获取账户类型下产品菜单功能树")
public RopResponse<List<AccountTypeTreeRopResponse>> accountTypeSearchRequest(AccountTypeSearchRequest accountTypeSearchRequest) { public RopResponse<List<AccountTypeTreeRopResponse>> accountTypeSearchRequest(AccountTypeSearchRequest accountTypeSearchRequest) {
try { try {
...@@ -185,7 +185,7 @@ public class MerchantController { ...@@ -185,7 +185,7 @@ public class MerchantController {
* @param roleSearchRequest 入参 * @param roleSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.findMenuFunTreeByRoleId", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.findMenuFunTreeByRoleId", needInSession = NeedInSessionType.NO)
@ApiOperation("获取角色产品菜单功能树") @ApiOperation("获取角色产品菜单功能树")
public RopResponse<List<AccountTypeTreeRopResponse>> findMenuFunTreeByRoleId(RoleSearchRequest roleSearchRequest) { public RopResponse<List<AccountTypeTreeRopResponse>> findMenuFunTreeByRoleId(RoleSearchRequest roleSearchRequest) {
try { try {
...@@ -203,7 +203,7 @@ public class MerchantController { ...@@ -203,7 +203,7 @@ public class MerchantController {
* @param merchantDetailRequest 入参 * @param merchantDetailRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.findMenuFunTreeByMerId", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.findMenuFunTreeByMerId", needInSession = NeedInSessionType.NO)
@ApiOperation("查询商户的菜单权限树") @ApiOperation("查询商户的菜单权限树")
public RopResponse<List<AccountTypeTreeRopResponse>> findMenuFunTreeByMerId(MerchantDetailRequest merchantDetailRequest) { public RopResponse<List<AccountTypeTreeRopResponse>> findMenuFunTreeByMerId(MerchantDetailRequest merchantDetailRequest) {
try { try {
...@@ -221,7 +221,7 @@ public class MerchantController { ...@@ -221,7 +221,7 @@ public class MerchantController {
* @param merchantUpdateValRequest 入参 * @param merchantUpdateValRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.updateValPerByMerId", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.updateValPerByMerId", needInSession = NeedInSessionType.NO)
@ApiOperation("更新商户的有效期") @ApiOperation("更新商户的有效期")
public RopResponse<Boolean> updateValPerByMerId(MerchantUpdateValRequest merchantUpdateValRequest) { public RopResponse<Boolean> updateValPerByMerId(MerchantUpdateValRequest merchantUpdateValRequest) {
try { try {
...@@ -239,7 +239,7 @@ public class MerchantController { ...@@ -239,7 +239,7 @@ public class MerchantController {
* @param merchantSearchResquest 入参 * @param merchantSearchResquest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findMerchantByPage", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findMerchantByPage", needInSession = NeedInSessionType.NO)
@ApiOperation("查询商户列表") @ApiOperation("查询商户列表")
public RopResponse<Pagination<MerchantRopResponse>> findMerchantByPage(MerchantSearchResquest merchantSearchResquest) { public RopResponse<Pagination<MerchantRopResponse>> findMerchantByPage(MerchantSearchResquest merchantSearchResquest) {
try { try {
...@@ -256,7 +256,7 @@ public class MerchantController { ...@@ -256,7 +256,7 @@ public class MerchantController {
* *
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findAllMerchant", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findAllMerchant", needInSession = NeedInSessionType.NO)
@ApiOperation("查询所有商户") @ApiOperation("查询所有商户")
public RopResponse<List<MerchantRopListRes>> findAllMerchant(MerchantFindRequest merchantFindRequest) { public RopResponse<List<MerchantRopListRes>> findAllMerchant(MerchantFindRequest merchantFindRequest) {
try { try {
...@@ -273,7 +273,7 @@ public class MerchantController { ...@@ -273,7 +273,7 @@ public class MerchantController {
* *
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findSubordinateRelationship", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findSubordinateRelationship", needInSession = NeedInSessionType.NO)
@ApiOperation("查询上下级商户详情") @ApiOperation("查询上下级商户详情")
public RopResponse<MerchantRopResponse> findSubordinateRelationship(MerchantDetailRequest merchantDetailRequest) { public RopResponse<MerchantRopResponse> findSubordinateRelationship(MerchantDetailRequest merchantDetailRequest) {
try { try {
...@@ -291,7 +291,7 @@ public class MerchantController { ...@@ -291,7 +291,7 @@ public class MerchantController {
* *
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.merchant.findMerchantBaseInfo", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.merchant.findMerchantBaseInfo", needInSession = NeedInSessionType.NO)
@ApiOperation("查询商户基本信息") @ApiOperation("查询商户基本信息")
public RopResponse<MerchantBaseInfoRopResponse> findMerchantBaseInfo(MerchantBaseInfoRequest merchantBaseInfoRequest) { public RopResponse<MerchantBaseInfoRopResponse> findMerchantBaseInfo(MerchantBaseInfoRequest merchantBaseInfoRequest) {
try { try {
......
...@@ -37,7 +37,7 @@ public class MerchantDictDataController { ...@@ -37,7 +37,7 @@ public class MerchantDictDataController {
* @param DictDataSaveRequest 入参 * @param DictDataSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.saveDictData", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.saveDictData", needInSession = NeedInSessionType.NO)
@ApiOperation("保存字典数据") @ApiOperation("保存字典数据")
public RopResponse<Boolean> saveDictData(DictDataSaveRequest DictDataSaveRequest) { public RopResponse<Boolean> saveDictData(DictDataSaveRequest DictDataSaveRequest) {
try { try {
...@@ -55,7 +55,7 @@ public class MerchantDictDataController { ...@@ -55,7 +55,7 @@ public class MerchantDictDataController {
* @param DictDataUpdateRequest 入参 * @param DictDataUpdateRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.updateDictData", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.updateDictData", needInSession = NeedInSessionType.NO)
@ApiOperation("更新字典数据") @ApiOperation("更新字典数据")
public RopResponse<Boolean> updateDictData(DictDataUpdateRequest DictDataUpdateRequest) { public RopResponse<Boolean> updateDictData(DictDataUpdateRequest DictDataUpdateRequest) {
try { try {
...@@ -73,7 +73,7 @@ public class MerchantDictDataController { ...@@ -73,7 +73,7 @@ public class MerchantDictDataController {
* @param DictDataDeleteRequest 入参 * @param DictDataDeleteRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.deleteDictData", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.deleteDictData", needInSession = NeedInSessionType.NO)
@ApiOperation("删除字典数据") @ApiOperation("删除字典数据")
public RopResponse<Boolean> deleteDictData(DictDataDeleteRequest DictDataDeleteRequest) { public RopResponse<Boolean> deleteDictData(DictDataDeleteRequest DictDataDeleteRequest) {
try { try {
...@@ -91,7 +91,7 @@ public class MerchantDictDataController { ...@@ -91,7 +91,7 @@ public class MerchantDictDataController {
* @param DictDataListSearchRequest 入参 * @param DictDataListSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findDictData", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findDictData", needInSession = NeedInSessionType.NO)
@ApiOperation("查询字典数据列表") @ApiOperation("查询字典数据列表")
public RopResponse<Pagination<DictDataResponse>> findDictData(DictDataListSearchRequest DictDataListSearchRequest) { public RopResponse<Pagination<DictDataResponse>> findDictData(DictDataListSearchRequest DictDataListSearchRequest) {
try { try {
...@@ -109,7 +109,7 @@ public class MerchantDictDataController { ...@@ -109,7 +109,7 @@ public class MerchantDictDataController {
* @param dictDataSearchRequest 入参 * @param dictDataSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findAllDictData", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findAllDictData", needInSession = NeedInSessionType.NO)
@ApiOperation("查询所有字典") @ApiOperation("查询所有字典")
public RopResponse<List<DictDataResponse>> findAllDictData(DictDataSearchRequest dictDataSearchRequest) { public RopResponse<List<DictDataResponse>> findAllDictData(DictDataSearchRequest dictDataSearchRequest) {
try { try {
......
...@@ -38,7 +38,7 @@ public class MerchantDictTypeController { ...@@ -38,7 +38,7 @@ public class MerchantDictTypeController {
* @param dictTypeSaveRequest 入参 * @param dictTypeSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.saveDictType", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.saveDictType", needInSession = NeedInSessionType.NO)
@ApiOperation("保存字典类型") @ApiOperation("保存字典类型")
public RopResponse<Boolean> saveDictType(DictTypeSaveRequest dictTypeSaveRequest) { public RopResponse<Boolean> saveDictType(DictTypeSaveRequest dictTypeSaveRequest) {
try { try {
...@@ -56,7 +56,7 @@ public class MerchantDictTypeController { ...@@ -56,7 +56,7 @@ public class MerchantDictTypeController {
* @param dictTypeUpdateRequest 入参 * @param dictTypeUpdateRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.updateDictType", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.updateDictType", needInSession = NeedInSessionType.NO)
@ApiOperation("更新字典类型") @ApiOperation("更新字典类型")
public RopResponse<Boolean> updateDictType(DictTypeUpdateRequest dictTypeUpdateRequest) { public RopResponse<Boolean> updateDictType(DictTypeUpdateRequest dictTypeUpdateRequest) {
try { try {
...@@ -74,7 +74,7 @@ public class MerchantDictTypeController { ...@@ -74,7 +74,7 @@ public class MerchantDictTypeController {
* @param dictTypeDeleteRequest 入参 * @param dictTypeDeleteRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.deleteDictType", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.deleteDictType", needInSession = NeedInSessionType.NO)
@ApiOperation("删除字典类型") @ApiOperation("删除字典类型")
public RopResponse<Boolean> deleteDictType(DictTypeDeleteRequest dictTypeDeleteRequest) { public RopResponse<Boolean> deleteDictType(DictTypeDeleteRequest dictTypeDeleteRequest) {
try { try {
...@@ -92,7 +92,7 @@ public class MerchantDictTypeController { ...@@ -92,7 +92,7 @@ public class MerchantDictTypeController {
* @param dictTypeListSearchRequest 入参 * @param dictTypeListSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findDictType", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findDictType", needInSession = NeedInSessionType.NO)
@ApiOperation("查询字典类型") @ApiOperation("查询字典类型")
public RopResponse<Pagination<DictTypeResponse>> findDictType(DictTypeListSearchRequest dictTypeListSearchRequest) { public RopResponse<Pagination<DictTypeResponse>> findDictType(DictTypeListSearchRequest dictTypeListSearchRequest) {
try { try {
......
...@@ -31,7 +31,7 @@ public class MerchantFileController { ...@@ -31,7 +31,7 @@ public class MerchantFileController {
* @param fileSearchRequest * @param fileSearchRequest
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findMerchantFile", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findMerchantFile", needInSession = NeedInSessionType.NO)
@ApiOperation("查询素材库") @ApiOperation("查询素材库")
public RopResponse<List<FileResponse>> findMerchantFile(FileSearchRequest fileSearchRequest){ public RopResponse<List<FileResponse>> findMerchantFile(FileSearchRequest fileSearchRequest){
try { try {
......
...@@ -38,7 +38,7 @@ public class MerchantFunctionController { ...@@ -38,7 +38,7 @@ public class MerchantFunctionController {
* @param functionSaveRequest 入参 * @param functionSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.saveMerchantFunction", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.saveMerchantFunction", needInSession = NeedInSessionType.NO)
@ApiOperation("保存功能") @ApiOperation("保存功能")
public RopResponse<Boolean> saveMerchantFunction(FunctionSaveRequest functionSaveRequest) { public RopResponse<Boolean> saveMerchantFunction(FunctionSaveRequest functionSaveRequest) {
try { try {
...@@ -56,7 +56,7 @@ public class MerchantFunctionController { ...@@ -56,7 +56,7 @@ public class MerchantFunctionController {
* @param functionUpdateRequest 入参 * @param functionUpdateRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.updateMerchantFunction", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.updateMerchantFunction", needInSession = NeedInSessionType.NO)
@ApiOperation("修改功能") @ApiOperation("修改功能")
public RopResponse<Boolean> updateMerchantFunction(FunctionUpdateRequest functionUpdateRequest) { public RopResponse<Boolean> updateMerchantFunction(FunctionUpdateRequest functionUpdateRequest) {
try { try {
...@@ -74,7 +74,7 @@ public class MerchantFunctionController { ...@@ -74,7 +74,7 @@ public class MerchantFunctionController {
* @param functionListSearchRequest 入参 * @param functionListSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findMerchantFunction", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findMerchantFunction", needInSession = NeedInSessionType.NO)
@ApiOperation("查询功能列表") @ApiOperation("查询功能列表")
public RopResponse<Pagination<FunctionResponse>> findMerchantFunction(FunctionListSearchRequest functionListSearchRequest) { public RopResponse<Pagination<FunctionResponse>> findMerchantFunction(FunctionListSearchRequest functionListSearchRequest) {
try { try {
...@@ -92,7 +92,7 @@ public class MerchantFunctionController { ...@@ -92,7 +92,7 @@ public class MerchantFunctionController {
* @param functionDeleteRequest * @param functionDeleteRequest
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.deleteMerchantFunction", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.deleteMerchantFunction", needInSession = NeedInSessionType.NO)
@ApiOperation("删除功能信息") @ApiOperation("删除功能信息")
public RopResponse<Boolean> deleteMerchantFunction(FunctionDeleteRequest functionDeleteRequest) { public RopResponse<Boolean> deleteMerchantFunction(FunctionDeleteRequest functionDeleteRequest) {
try { try {
......
...@@ -37,7 +37,7 @@ public class MerchantMenuController { ...@@ -37,7 +37,7 @@ public class MerchantMenuController {
* @param menuSearchRequest 入参 * @param menuSearchRequest 入参
* @return 菜单树结构 * @return 菜单树结构
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findMerProMenuTree", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findMerProMenuTree", needInSession = NeedInSessionType.NO)
@ApiOperation("查询菜单树") @ApiOperation("查询菜单树")
public RopResponse<List<MenuResponse>> findMerProMenuTree(MenuSearchRequest menuSearchRequest) { public RopResponse<List<MenuResponse>> findMerProMenuTree(MenuSearchRequest menuSearchRequest) {
try { try {
...@@ -55,7 +55,7 @@ public class MerchantMenuController { ...@@ -55,7 +55,7 @@ public class MerchantMenuController {
* @param menuSaveRequest 入参 * @param menuSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.saveMerchantProductMenu", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.saveMerchantProductMenu", needInSession = NeedInSessionType.NO)
@ApiOperation("保存菜单") @ApiOperation("保存菜单")
public RopResponse<Boolean> saveMerchantProductMenu(MenuSaveRequest menuSaveRequest) { public RopResponse<Boolean> saveMerchantProductMenu(MenuSaveRequest menuSaveRequest) {
try { try {
...@@ -73,7 +73,7 @@ public class MerchantMenuController { ...@@ -73,7 +73,7 @@ public class MerchantMenuController {
* @param menuListSearchRequest 入参 * @param menuListSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.findMerProMenuByPage", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.findMerProMenuByPage", needInSession = NeedInSessionType.NO)
@ApiOperation("查询菜单列表") @ApiOperation("查询菜单列表")
public RopResponse<Pagination<MenuResponse>> findMerProMenuByPage(MenuListSearchRequest menuListSearchRequest) { public RopResponse<Pagination<MenuResponse>> findMerProMenuByPage(MenuListSearchRequest menuListSearchRequest) {
try { try {
...@@ -91,7 +91,7 @@ public class MerchantMenuController { ...@@ -91,7 +91,7 @@ public class MerchantMenuController {
* @param menuUpdateRequest 入参 * @param menuUpdateRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.updateMerchantProductMenu", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.updateMerchantProductMenu", needInSession = NeedInSessionType.NO)
@ApiOperation("更新菜单") @ApiOperation("更新菜单")
public RopResponse<Boolean> updateMerchantProductMenu(MenuUpdateRequest menuUpdateRequest) { public RopResponse<Boolean> updateMerchantProductMenu(MenuUpdateRequest menuUpdateRequest) {
try { try {
...@@ -109,7 +109,7 @@ public class MerchantMenuController { ...@@ -109,7 +109,7 @@ public class MerchantMenuController {
* @param menuDeleteRequest 入参 * @param menuDeleteRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.menu.deleteMerchantProductMenu", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.menu.deleteMerchantProductMenu", needInSession = NeedInSessionType.NO)
@ApiOperation("删除菜单") @ApiOperation("删除菜单")
public RopResponse<Boolean> deleteMerchantProductMenu(MenuDeleteRequest menuDeleteRequest) { public RopResponse<Boolean> deleteMerchantProductMenu(MenuDeleteRequest menuDeleteRequest) {
try { try {
......
...@@ -32,7 +32,7 @@ public class MerchantProductController { ...@@ -32,7 +32,7 @@ public class MerchantProductController {
@Autowired @Autowired
private MerchantProductService merchantProductService; private MerchantProductService merchantProductService;
@ServiceMethod(method = "cn.com.glsx.merchants.product.findProduct", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.product.findProduct", needInSession = NeedInSessionType.NO)
@ApiOperation("获取所有产品") @ApiOperation("获取所有产品")
public RopResponse<List<ProductResponse>> findProduct(AbstractRopRequest abstractRopRequest) { public RopResponse<List<ProductResponse>> findProduct(AbstractRopRequest abstractRopRequest) {
try { try {
...@@ -44,7 +44,7 @@ public class MerchantProductController { ...@@ -44,7 +44,7 @@ public class MerchantProductController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.product.saveProduct", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.product.saveProduct", needInSession = NeedInSessionType.NO)
@ApiOperation("新增产品") @ApiOperation("新增产品")
public RopResponse<Boolean> saveProduct(ProductSaveRequest productSearchRequest) { public RopResponse<Boolean> saveProduct(ProductSaveRequest productSearchRequest) {
try { try {
...@@ -56,7 +56,7 @@ public class MerchantProductController { ...@@ -56,7 +56,7 @@ public class MerchantProductController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.product.updateProduct", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.product.updateProduct", needInSession = NeedInSessionType.NO)
@ApiOperation("修改产品") @ApiOperation("修改产品")
public RopResponse<Boolean> updateProduct(ProductUpdateRequest productUpdateRequest) { public RopResponse<Boolean> updateProduct(ProductUpdateRequest productUpdateRequest) {
try { try {
...@@ -68,13 +68,13 @@ public class MerchantProductController { ...@@ -68,13 +68,13 @@ public class MerchantProductController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.product.deleteProduct", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.product.deleteProduct", needInSession = NeedInSessionType.NO)
@ApiOperation("删除产品") @ApiOperation("删除产品")
public RopResponse<Boolean> deleteProduct(ProductDeleteRequest productDeleteRequest) { public RopResponse<Boolean> deleteProduct(ProductDeleteRequest productDeleteRequest) {
return RopResponse.success(true); return RopResponse.success(true);
} }
@ServiceMethod(method = "cn.com.glsx.merchants.product.findProductByPage", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.product.findProductByPage", needInSession = NeedInSessionType.NO)
@ApiOperation("获取产品列表") @ApiOperation("获取产品列表")
public RopResponse<Pagination<ProductResponse>> findProductByPage(ProductSearchRequest productSearchRequest) { public RopResponse<Pagination<ProductResponse>> findProductByPage(ProductSearchRequest productSearchRequest) {
try { try {
...@@ -92,7 +92,7 @@ public class MerchantProductController { ...@@ -92,7 +92,7 @@ public class MerchantProductController {
* @param productSearchByIdRequest * @param productSearchByIdRequest
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.product.findProductById", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.product.findProductById", needInSession = NeedInSessionType.NO)
@ApiOperation("根据产品id查询菜单功能树") @ApiOperation("根据产品id查询菜单功能树")
public RopResponse<List<MerchantProTreeRopResponse>> findMenuFunByProductId(ProductSearchByIdRequest productSearchByIdRequest){ public RopResponse<List<MerchantProTreeRopResponse>> findMenuFunByProductId(ProductSearchByIdRequest productSearchByIdRequest){
try { try {
......
...@@ -36,7 +36,7 @@ public class MerchantRoleController { ...@@ -36,7 +36,7 @@ public class MerchantRoleController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.role.list", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.role.list", needInSession = NeedInSessionType.NO)
@ApiOperation("角色管理获取列表接口") @ApiOperation("角色管理获取列表接口")
public RopResponse<List<RoleResponse>> getRoleList(RoleSearchRequest request) { public RopResponse<List<RoleResponse>> getRoleList(RoleSearchRequest request) {
try { try {
...@@ -53,7 +53,7 @@ public class MerchantRoleController { ...@@ -53,7 +53,7 @@ public class MerchantRoleController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.role.page", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.role.page", needInSession = NeedInSessionType.NO)
@ApiOperation("角色管理获取分页数据接口") @ApiOperation("角色管理获取分页数据接口")
public RopResponse<Pagination<RoleResponse>> getRolePage(RoleListSearchRequest request) { public RopResponse<Pagination<RoleResponse>> getRolePage(RoleListSearchRequest request) {
try { try {
...@@ -70,7 +70,7 @@ public class MerchantRoleController { ...@@ -70,7 +70,7 @@ public class MerchantRoleController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.role.getById", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.role.getById", needInSession = NeedInSessionType.NO)
@ApiOperation("根据id获取角色管理接口") @ApiOperation("根据id获取角色管理接口")
public RopResponse<RoleResponse> getById(RoleSearchRequest request) { public RopResponse<RoleResponse> getById(RoleSearchRequest request) {
try { try {
...@@ -87,7 +87,7 @@ public class MerchantRoleController { ...@@ -87,7 +87,7 @@ public class MerchantRoleController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.role.deleteById", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.role.deleteById", needInSession = NeedInSessionType.NO)
@ApiOperation("根据id获取角色管理接口") @ApiOperation("根据id获取角色管理接口")
public RopResponse<Boolean> deleteById(RoleDeleteRequest request) { public RopResponse<Boolean> deleteById(RoleDeleteRequest request) {
try { try {
...@@ -104,7 +104,7 @@ public class MerchantRoleController { ...@@ -104,7 +104,7 @@ public class MerchantRoleController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.role.insert", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.role.insert", needInSession = NeedInSessionType.NO)
@ApiOperation("角色管理新增接口") @ApiOperation("角色管理新增接口")
public RopResponse<Boolean> insert(RoleInsertRequest request) { public RopResponse<Boolean> insert(RoleInsertRequest request) {
try { try {
...@@ -121,7 +121,7 @@ public class MerchantRoleController { ...@@ -121,7 +121,7 @@ public class MerchantRoleController {
* @param request * @param request
* @return * @return
*/ */
@ServiceMethod(method = "org.ore.api.role.update", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.role.update", needInSession = NeedInSessionType.NO)
@ApiOperation("角色管理更新接口") @ApiOperation("角色管理更新接口")
public RopResponse<Boolean> update(RoleUpdateRequest request) { public RopResponse<Boolean> update(RoleUpdateRequest request) {
try { try {
......
...@@ -34,7 +34,7 @@ public class OpenController { ...@@ -34,7 +34,7 @@ public class OpenController {
@Autowired @Autowired
private OpenService openService; private OpenService openService;
@ServiceMethod(method = "cn.com.glsx.merchants.open.findMerchantDetailByMerchantNo", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findMerchantDetailByMerchantNo", needInSession = NeedInSessionType.NO)
@ApiOperation("根据商户号查询商户详情") @ApiOperation("根据商户号查询商户详情")
public RopResponse<MerchantRopResponse> findMerchantDetailByMerchantNo(OpenMerchantDetailRequest openMerchantRequest) { public RopResponse<MerchantRopResponse> findMerchantDetailByMerchantNo(OpenMerchantDetailRequest openMerchantRequest) {
try { try {
...@@ -46,7 +46,7 @@ public class OpenController { ...@@ -46,7 +46,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findSuperlativeMerchant", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findSuperlativeMerchant", needInSession = NeedInSessionType.NO)
@ApiOperation("根据商户号最上级工厂商户号") @ApiOperation("根据商户号最上级工厂商户号")
public RopResponse<Integer> findSuperlativeMerchant(OpenMerchantDetailRequest openMerchantRequest) { public RopResponse<Integer> findSuperlativeMerchant(OpenMerchantDetailRequest openMerchantRequest) {
try { try {
...@@ -59,7 +59,7 @@ public class OpenController { ...@@ -59,7 +59,7 @@ public class OpenController {
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findSuperiorList", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findSuperiorList", needInSession = NeedInSessionType.NO)
@ApiOperation("根据商户查询商户上级列表") @ApiOperation("根据商户查询商户上级列表")
public RopResponse<List<MerchantRopResponse>> findSuperiorList(OpenMerchantLevelRequest openMerchantRequest) { public RopResponse<List<MerchantRopResponse>> findSuperiorList(OpenMerchantLevelRequest openMerchantRequest) {
try { try {
...@@ -71,7 +71,7 @@ public class OpenController { ...@@ -71,7 +71,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findMerchantList", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findMerchantList", needInSession = NeedInSessionType.NO)
@ApiOperation("根据商户名称和渠道类型查询商户列表") @ApiOperation("根据商户名称和渠道类型查询商户列表")
public RopResponse<List<MerchantRopResponse>> findMerchantList(OpenMerchantListRequest openMerchantRequest) { public RopResponse<List<MerchantRopResponse>> findMerchantList(OpenMerchantListRequest openMerchantRequest) {
try { try {
...@@ -83,7 +83,7 @@ public class OpenController { ...@@ -83,7 +83,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findSubordinateListByPage", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findSubordinateListByPage", needInSession = NeedInSessionType.NO)
@ApiOperation("根据商户查询商户下级列表") @ApiOperation("根据商户查询商户下级列表")
public RopResponse<Pagination<MerchantRopResponse>> findSubordinateListByPage(OpenMerchantPageRequest openMerchantRequest) { public RopResponse<Pagination<MerchantRopResponse>> findSubordinateListByPage(OpenMerchantPageRequest openMerchantRequest) {
try { try {
...@@ -95,7 +95,7 @@ public class OpenController { ...@@ -95,7 +95,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.checkBussinessAccount", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.checkBussinessAccount", needInSession = NeedInSessionType.NO)
@ApiOperation("用户登录校验") @ApiOperation("用户登录校验")
public RopResponse<List<OpenUserResponse>> checkBussinessAccount(OpenCheckUserRequest openUserRequest) { public RopResponse<List<OpenUserResponse>> checkBussinessAccount(OpenCheckUserRequest openUserRequest) {
try { try {
...@@ -107,7 +107,7 @@ public class OpenController { ...@@ -107,7 +107,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findDataPermission", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findDataPermission", needInSession = NeedInSessionType.NO)
@ApiOperation("用户数据权限获取") @ApiOperation("用户数据权限获取")
public RopResponse<List<Integer>> findDataPermission(OpenUserDataPermissionRequest openUserRequest) { public RopResponse<List<Integer>> findDataPermission(OpenUserDataPermissionRequest openUserRequest) {
try { try {
...@@ -119,7 +119,7 @@ public class OpenController { ...@@ -119,7 +119,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findMenuFunPermission", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findMenuFunPermission", needInSession = NeedInSessionType.NO)
@ApiOperation("用户菜单权限获取") @ApiOperation("用户菜单权限获取")
public RopResponse<List<AccountTypeTreeRopResponse>> findMenuFunPermission(OpenUserMenuPermissionRequest openUserRequest) { public RopResponse<List<AccountTypeTreeRopResponse>> findMenuFunPermission(OpenUserMenuPermissionRequest openUserRequest) {
try { try {
...@@ -138,7 +138,7 @@ public class OpenController { ...@@ -138,7 +138,7 @@ public class OpenController {
* @param merchantSaveRequest 入参 * @param merchantSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.saveMerchant", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.saveMerchant", needInSession = NeedInSessionType.NO)
@ApiOperation("保存或者更新商户信息接口(对外)") @ApiOperation("保存或者更新商户信息接口(对外)")
public RopResponse<Integer> saveMerchant(MerchantSaveOpenRequest merchantSaveRequest) { public RopResponse<Integer> saveMerchant(MerchantSaveOpenRequest merchantSaveRequest) {
try { try {
...@@ -156,7 +156,7 @@ public class OpenController { ...@@ -156,7 +156,7 @@ public class OpenController {
* @param relaevanceMerRequest 入参 * @param relaevanceMerRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.relevanceMerchant", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.relevanceMerchant", needInSession = NeedInSessionType.NO)
@ApiOperation("企微关联商户") @ApiOperation("企微关联商户")
public RopResponse<Boolean> relevanceMerchant(RelaevanceMerRequest relaevanceMerRequest) { public RopResponse<Boolean> relevanceMerchant(RelaevanceMerRequest relaevanceMerRequest) {
try { try {
...@@ -174,7 +174,7 @@ public class OpenController { ...@@ -174,7 +174,7 @@ public class OpenController {
* @param staffSaveOpenRequest 入参 * @param staffSaveOpenRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.saveStaff", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.saveStaff", needInSession = NeedInSessionType.NO)
@ApiOperation("保存或者更新员工接口(对外)") @ApiOperation("保存或者更新员工接口(对外)")
public RopResponse<Integer> saveStaff(StaffSaveOpenRequest staffSaveOpenRequest) { public RopResponse<Integer> saveStaff(StaffSaveOpenRequest staffSaveOpenRequest) {
try { try {
...@@ -192,7 +192,7 @@ public class OpenController { ...@@ -192,7 +192,7 @@ public class OpenController {
* @param staffSaveOpenRequest 入参 * @param staffSaveOpenRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.syncEntmicroStaff", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.syncEntmicroStaff", needInSession = NeedInSessionType.NO)
@ApiOperation("同步企微员工") @ApiOperation("同步企微员工")
public RopResponse<List<StaffResponse>> syncEntmicroStaff(SyncStaffOpenRequest staffSaveOpenRequest) { public RopResponse<List<StaffResponse>> syncEntmicroStaff(SyncStaffOpenRequest staffSaveOpenRequest) {
try { try {
...@@ -210,7 +210,7 @@ public class OpenController { ...@@ -210,7 +210,7 @@ public class OpenController {
* @param openProximityMerchantRequest 入参 * @param openProximityMerchantRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.proximityMerchantList", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.proximityMerchantList", needInSession = NeedInSessionType.NO)
@ApiOperation("查询最近的n家门店") @ApiOperation("查询最近的n家门店")
public RopResponse<List<MerchantRopResponse>> proximityMerchantList(OpenProximityMerchantRequest openProximityMerchantRequest) { public RopResponse<List<MerchantRopResponse>> proximityMerchantList(OpenProximityMerchantRequest openProximityMerchantRequest) {
try { try {
...@@ -228,7 +228,7 @@ public class OpenController { ...@@ -228,7 +228,7 @@ public class OpenController {
* @param merchantListOpenRequest 入参 * @param merchantListOpenRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.findMerchantListByPage", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findMerchantListByPage", needInSession = NeedInSessionType.NO)
@ApiOperation("根据账户类型,层级查询商户列表") @ApiOperation("根据账户类型,层级查询商户列表")
public RopResponse<Pagination<MerchantRopResponse>> findMerchantListByPage(MerchantListOpenRequest merchantListOpenRequest) { public RopResponse<Pagination<MerchantRopResponse>> findMerchantListByPage(MerchantListOpenRequest merchantListOpenRequest) {
try { try {
...@@ -246,7 +246,7 @@ public class OpenController { ...@@ -246,7 +246,7 @@ public class OpenController {
* @param staffSearchOpenRequest 入参 * @param staffSearchOpenRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.findStaffByAccount", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findStaffByAccount", needInSession = NeedInSessionType.NO)
@ApiOperation("根据登录号查询员工详情") @ApiOperation("根据登录号查询员工详情")
public RopResponse<StaffResponse> findStaffByAccount(StaffSearchOpenRequest staffSearchOpenRequest) { public RopResponse<StaffResponse> findStaffByAccount(StaffSearchOpenRequest staffSearchOpenRequest) {
try { try {
...@@ -264,7 +264,7 @@ public class OpenController { ...@@ -264,7 +264,7 @@ public class OpenController {
* @param merchantTreeOpenRequest 入参 * @param merchantTreeOpenRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.open.findMerchantTreeByMerchantNo", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findMerchantTreeByMerchantNo", needInSession = NeedInSessionType.NO)
@ApiOperation("商户树查询") @ApiOperation("商户树查询")
public RopResponse<List<MerchantTreeOpenResponse>> findMerchantTreeByMerchantNo(MerchantTreeOpenRequest merchantTreeOpenRequest) { public RopResponse<List<MerchantTreeOpenResponse>> findMerchantTreeByMerchantNo(MerchantTreeOpenRequest merchantTreeOpenRequest) {
try { try {
...@@ -276,7 +276,7 @@ public class OpenController { ...@@ -276,7 +276,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.checkPhone", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.checkPhone", needInSession = NeedInSessionType.NO)
@ApiOperation("手机号校验") @ApiOperation("手机号校验")
public RopResponse<List<OpenUserResponse>> checkPhone(OpenCheckPhoneRequest openCheckPhoneRequest) { public RopResponse<List<OpenUserResponse>> checkPhone(OpenCheckPhoneRequest openCheckPhoneRequest) {
try { try {
...@@ -288,7 +288,7 @@ public class OpenController { ...@@ -288,7 +288,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.findBySapCode", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.findBySapCode", needInSession = NeedInSessionType.NO)
@ApiOperation("根据sapCode查询商户") @ApiOperation("根据sapCode查询商户")
public RopResponse<MerchantRopResponse> findBySapCode(OpenSapSearchRequest openSapSearchRequest) { public RopResponse<MerchantRopResponse> findBySapCode(OpenSapSearchRequest openSapSearchRequest) {
try { try {
...@@ -300,7 +300,7 @@ public class OpenController { ...@@ -300,7 +300,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.userLogin", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.userLogin", needInSession = NeedInSessionType.NO)
@ApiOperation("用户登录") @ApiOperation("用户登录")
public RopResponse<Boolean> userLogin(UserLoginRequest userLoginRequest) { public RopResponse<Boolean> userLogin(UserLoginRequest userLoginRequest) {
try { try {
...@@ -312,7 +312,7 @@ public class OpenController { ...@@ -312,7 +312,7 @@ public class OpenController {
} }
} }
@ServiceMethod(method = "cn.com.glsx.merchants.open.updateMd5Password", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.updateMd5Password", needInSession = NeedInSessionType.NO)
@ApiOperation("md5") @ApiOperation("md5")
public RopResponse<Boolean> updateMd5Password(AbstractRopRequest abstractRopRequest) { public RopResponse<Boolean> updateMd5Password(AbstractRopRequest abstractRopRequest) {
try { try {
......
...@@ -34,7 +34,7 @@ public class StaffController { ...@@ -34,7 +34,7 @@ public class StaffController {
* @param staffSaveRequest 入参 * @param staffSaveRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.saveStaff", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.saveStaff", needInSession = NeedInSessionType.NO)
@ApiOperation("保存员工") @ApiOperation("保存员工")
public RopResponse<Boolean> saveStaff(StaffSaveRequest staffSaveRequest) { public RopResponse<Boolean> saveStaff(StaffSaveRequest staffSaveRequest) {
try { try {
...@@ -52,7 +52,7 @@ public class StaffController { ...@@ -52,7 +52,7 @@ public class StaffController {
* @param staffUpdateRequest 入参 * @param staffUpdateRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.updateStaff", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.updateStaff", needInSession = NeedInSessionType.NO)
@ApiOperation("更新员工") @ApiOperation("更新员工")
public RopResponse<Boolean> updateStaff(StaffUpdateRequest staffUpdateRequest) { public RopResponse<Boolean> updateStaff(StaffUpdateRequest staffUpdateRequest) {
try { try {
...@@ -70,7 +70,7 @@ public class StaffController { ...@@ -70,7 +70,7 @@ public class StaffController {
* @param staffUpdateStatusRequest 入参 * @param staffUpdateStatusRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.updateStatus", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.updateStatus", needInSession = NeedInSessionType.NO)
@ApiOperation("更新员工状态") @ApiOperation("更新员工状态")
public RopResponse<Boolean> updateStatus(StaffUpdateStatusRequest staffUpdateStatusRequest) { public RopResponse<Boolean> updateStatus(StaffUpdateStatusRequest staffUpdateStatusRequest) {
try { try {
...@@ -88,7 +88,7 @@ public class StaffController { ...@@ -88,7 +88,7 @@ public class StaffController {
* @param staffDeleteRequest 入参 * @param staffDeleteRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.deleteStaff", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.deleteStaff", needInSession = NeedInSessionType.NO)
@ApiOperation("删除员工") @ApiOperation("删除员工")
public RopResponse<Boolean> deleteStaff(StaffDeleteRequest staffDeleteRequest) { public RopResponse<Boolean> deleteStaff(StaffDeleteRequest staffDeleteRequest) {
try { try {
...@@ -106,7 +106,7 @@ public class StaffController { ...@@ -106,7 +106,7 @@ public class StaffController {
* @param staffSearchRequest 入参 * @param staffSearchRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.staffSearchRequest", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.staffSearchRequest", needInSession = NeedInSessionType.NO)
@ApiOperation("查询员工详情") @ApiOperation("查询员工详情")
public RopResponse<StaffResponse> findMerchantStaffDetail(StaffSearchRequest staffSearchRequest) { public RopResponse<StaffResponse> findMerchantStaffDetail(StaffSearchRequest staffSearchRequest) {
try { try {
...@@ -124,7 +124,7 @@ public class StaffController { ...@@ -124,7 +124,7 @@ public class StaffController {
* @param staffListRequest 入参 * @param staffListRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.findMerchantStaffList", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.findMerchantStaffList", needInSession = NeedInSessionType.NO)
@ApiOperation("查询员工列表") @ApiOperation("查询员工列表")
public RopResponse<List<StaffResponse>> findMerchantStaffList(StaffListRequest staffListRequest) { public RopResponse<List<StaffResponse>> findMerchantStaffList(StaffListRequest staffListRequest) {
try { try {
...@@ -143,7 +143,7 @@ public class StaffController { ...@@ -143,7 +143,7 @@ public class StaffController {
* @param staffPageRequest 入参 * @param staffPageRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.findStaffByPage", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.findStaffByPage", needInSession = NeedInSessionType.NO)
@ApiOperation("查询员工分页列表") @ApiOperation("查询员工分页列表")
public RopResponse<Pagination<StaffResponse>> findStaffByPage(StaffPageRequest staffPageRequest) { public RopResponse<Pagination<StaffResponse>> findStaffByPage(StaffPageRequest staffPageRequest) {
try { try {
...@@ -161,7 +161,7 @@ public class StaffController { ...@@ -161,7 +161,7 @@ public class StaffController {
* @param staffExportRequest 入参 * @param staffExportRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.exportData", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.exportData", needInSession = NeedInSessionType.NO)
@ApiOperation("员工导出") @ApiOperation("员工导出")
public RopResponse<String> exportData(StaffExportRequest staffExportRequest) { public RopResponse<String> exportData(StaffExportRequest staffExportRequest) {
try { try {
...@@ -180,7 +180,7 @@ public class StaffController { ...@@ -180,7 +180,7 @@ public class StaffController {
* @param staffUpdateValRequest 入参 * @param staffUpdateValRequest 入参
* @return * @return
*/ */
@ServiceMethod(method = "cn.com.glsx.merchants.staff.updateValPerByStaffId", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.staff.updateValPerByStaffId", needInSession = NeedInSessionType.NO)
@ApiOperation("更新员工的有效期") @ApiOperation("更新员工的有效期")
public RopResponse<Boolean> updateValPerByStaffId(StaffUpdateValRequest staffUpdateValRequest) { public RopResponse<Boolean> updateValPerByStaffId(StaffUpdateValRequest staffUpdateValRequest) {
try { try {
......
...@@ -29,7 +29,7 @@ public class ExampleControllerTest extends BaseControllerTest { ...@@ -29,7 +29,7 @@ public class ExampleControllerTest extends BaseControllerTest {
public void testGetExample() throws Exception{ public void testGetExample() throws Exception{
MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4);
params.add("v", "1.0.0"); params.add("v", "1.0.0");
params.add("method", "org.ore.api.example"); params.add("method", "merchants.api.example");
params.add("name", "alvin"); params.add("name", "alvin");
System.out.println(get(params)); System.out.println(get(params));
} }
...@@ -38,7 +38,7 @@ public class ExampleControllerTest extends BaseControllerTest { ...@@ -38,7 +38,7 @@ public class ExampleControllerTest extends BaseControllerTest {
public void testPostExample() throws Exception{ public void testPostExample() throws Exception{
MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4);
params.add("v", "1.0.0"); params.add("v", "1.0.0");
params.add("method", "org.ore.api.example"); params.add("method", "merchants.api.example");
params.add("name", "alvin"); params.add("name", "alvin");
System.out.println(post(params)); System.out.println(post(params));
} }
...@@ -47,7 +47,7 @@ public class ExampleControllerTest extends BaseControllerTest { ...@@ -47,7 +47,7 @@ public class ExampleControllerTest extends BaseControllerTest {
public void testComplexRequest() throws Exception{ public void testComplexRequest() throws Exception{
MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4);
params.add("v", "1.0.0"); params.add("v", "1.0.0");
params.add("method", "org.ore.api.example.complex"); params.add("method", "merchants.api.example.complex");
params.add("name", "alvin"); params.add("name", "alvin");
params.add("age", "18"); params.add("age", "18");
params.add("data", "18"); params.add("data", "18");
...@@ -70,7 +70,7 @@ public class ExampleControllerTest extends BaseControllerTest { ...@@ -70,7 +70,7 @@ public class ExampleControllerTest extends BaseControllerTest {
public void testUpload() throws Exception{ public void testUpload() throws Exception{
MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4);
params.add("v", "1.0.0"); params.add("v", "1.0.0");
params.add("method", "org.ore.api.example.upload"); params.add("method", "merchants.api.example.upload");
ClassPathResource resource = new ClassPathResource("logo.png"); ClassPathResource resource = new ClassPathResource("logo.png");
UploadFile uploadFile = new UploadFile(resource.getFile()); UploadFile uploadFile = new UploadFile(resource.getFile());
MultiValueMap<String, String> fileParams = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> fileParams = new LinkedMultiValueMap<String, String>(4);
......
...@@ -21,7 +21,7 @@ public class StaffControllerTest extends BaseControllerTest { ...@@ -21,7 +21,7 @@ public class StaffControllerTest extends BaseControllerTest {
public void testGetExample() throws Exception { public void testGetExample() throws Exception {
MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4);
params.add("v", "1.0.0"); params.add("v", "1.0.0");
params.add("method", "cn.com.glsx.merchants.staff.saveStaff"); params.add("method", "merchants.api.staff.saveStaff");
params.add("name", "alvin"); params.add("name", "alvin");
params.add("staffName", "贤心"); params.add("staffName", "贤心");
params.add("staffJob", "jkl"); params.add("staffJob", "jkl");
...@@ -42,7 +42,7 @@ public class StaffControllerTest extends BaseControllerTest { ...@@ -42,7 +42,7 @@ public class StaffControllerTest extends BaseControllerTest {
public void testPostExample() throws Exception { public void testPostExample() throws Exception {
MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4); MultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>(4);
params.add("v", "1.0.0"); params.add("v", "1.0.0");
params.add("method", "cn.com.glsx.merchants.staff.saveStaff"); params.add("method", "merchants.api.staff.saveStaff");
params.add("name", "alvin"); params.add("name", "alvin");
params.add("staffName", "贤心"); params.add("staffName", "贤心");
params.add("staffJob", "jkl"); params.add("staffJob", "jkl");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!