去掉路径enterprise-id
This commit is contained in:
@@ -25,8 +25,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@GetMapping(path = "/interviewSchedule")
|
@GetMapping(path = "/interviewSchedule")
|
||||||
@ApiOperation("面试日程信息 面试信息有限 不做分页")
|
@ApiOperation("面试日程信息 面试信息有限 不做分页")
|
||||||
public ResponseResult<InterviewScheduleInfoVO> interviewSchedule(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<InterviewScheduleInfoVO> interviewSchedule(@RequestParam(value = "selectedData",required = false) Date selectedData){
|
||||||
@RequestParam(value = "selectedData",required = false) Date selectedData){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -37,8 +36,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "type", value = "类型 待处理-Pending 待跟进-follow", required = false),
|
@ApiImplicitParam(name = "type", value = "类型 待处理-Pending 待跟进-follow", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<StageCountVO> queryStageCount(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<StageCountVO> queryStageCount(@RequestParam(value = "type",required = false)Integer type){
|
||||||
@RequestParam(value = "type",required = false)Integer type){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -49,8 +47,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "type", value = "类型 待处理-Pending 待跟进-follow", required = false),
|
@ApiImplicitParam(name = "type", value = "类型 待处理-Pending 待跟进-follow", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PageInfo<PartnerIntentApplyInfoVO>> queryIntentApplyList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<PartnerIntentApplyInfoVO>> queryIntentApplyList(@RequestParam(value = "type",required = false)Integer type){
|
||||||
@RequestParam(value = "type",required = false)Integer type){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -61,8 +58,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "type", value = "类型 待处理-Pending 待跟进-follow", required = false),
|
@ApiImplicitParam(name = "type", value = "类型 待处理-Pending 待跟进-follow", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PageInfo<PartnerInterviewInfoVO>> querySubscribeInterviewTimeList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<PartnerInterviewInfoVO>> querySubscribeInterviewTimeList(@RequestParam(value = "type",required = false)Integer type){
|
||||||
@RequestParam(value = "type",required = false)Integer type){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -73,8 +69,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PartnerLineDetailVO> getPartnerLineDetail(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PartnerLineDetailVO> getPartnerLineDetail(@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -85,8 +80,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PartnerIntentApplyInfoVO> getPartnerIntentInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PartnerIntentApplyInfoVO> getPartnerIntentInfo(@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -98,8 +92,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "partnerId", value = "partnerId", required = false),
|
@ApiImplicitParam(name = "partnerId", value = "partnerId", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<InviteCodeDetailVO> getInviteCodeDetail(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<InviteCodeDetailVO> getInviteCodeDetail(@RequestParam(value = "partnerId",required = false)Long partnerId){
|
||||||
@RequestParam(value = "partnerId",required = false)Long partnerId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -111,8 +104,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "partnerId", value = "partnerId", required = false),
|
@ApiImplicitParam(name = "partnerId", value = "partnerId", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<List<LineFollowHistoryVO>> getFollowHistory(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<List<LineFollowHistoryVO>> getFollowHistory(@RequestParam(value = "partnerId",required = false)Long partnerId){
|
||||||
@RequestParam(value = "partnerId",required = false)Long partnerId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -125,8 +117,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParam(name = "pageNumber", value = "页码", required = false),
|
@ApiImplicitParam(name = "pageNumber", value = "页码", required = false),
|
||||||
@ApiImplicitParam(name = "pageSize", value = "分页大小", required = false)
|
@ApiImplicitParam(name = "pageSize", value = "分页大小", required = false)
|
||||||
})
|
})
|
||||||
public ResponseResult<PageInfo<PartnerLineInfoVO>> lastMonthCloseLine(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<PartnerLineInfoVO>> lastMonthCloseLine(@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
|
||||||
@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
|
|
||||||
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
|
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
|
||||||
|
|
||||||
|
|
||||||
@@ -136,8 +127,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/allocationInvestmentManager")
|
@PostMapping(path = "/allocationInvestmentManager")
|
||||||
@ApiOperation("分配招商经理/转让招商经理")
|
@ApiOperation("分配招商经理/转让招商经理")
|
||||||
public ResponseResult<Boolean> allocationInvestmentManager(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> allocationInvestmentManager(@RequestBody AllocationInvestmentManagerRequest allocationInvestmentManagerRequest){
|
||||||
@RequestBody AllocationInvestmentManagerRequest allocationInvestmentManagerRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -146,8 +136,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/queryPublicSeqLineList")
|
@PostMapping(path = "/queryPublicSeqLineList")
|
||||||
@ApiOperation("公海列表")
|
@ApiOperation("公海列表")
|
||||||
public ResponseResult<PageInfo<PublicSeaLineListVo>> queryPublicSeaLineList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<PublicSeaLineListVo>> queryPublicSeaLineList(@RequestBody LineRequest LineRequest){
|
||||||
@RequestBody LineRequest LineRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -157,8 +146,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/queryPrivateSeaLineList")
|
@PostMapping(path = "/queryPrivateSeaLineList")
|
||||||
@ApiOperation("私海列表")
|
@ApiOperation("私海列表")
|
||||||
public ResponseResult<PageInfo<PrivateSeaLineListVo>> queryPrivateSeqLineList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<PrivateSeaLineListVo>> queryPrivateSeqLineList(@RequestBody PrivateSeaLineListRequest privateSeaLineListRequest){
|
||||||
@RequestBody PrivateSeaLineListRequest privateSeaLineListRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -167,8 +155,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/queryBlackList")
|
@PostMapping(path = "/queryBlackList")
|
||||||
@ApiOperation("黑名单列表")
|
@ApiOperation("黑名单列表")
|
||||||
public ResponseResult<PageInfo<BlackListVO>> queryBlackList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<BlackListVO>> queryBlackList(@RequestBody LineRequest LineRequest){
|
||||||
@RequestBody LineRequest LineRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -176,8 +163,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/removeBlackList")
|
@PostMapping(path = "/removeBlackList")
|
||||||
@ApiOperation("移出黑名单")
|
@ApiOperation("移出黑名单")
|
||||||
public ResponseResult<Boolean> removeBlackList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> removeBlackList(@RequestBody LineBlackListRequest lineBlackListRequest){
|
||||||
@RequestBody LineBlackListRequest lineBlackListRequest){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -185,8 +171,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/joinBlackList")
|
@PostMapping(path = "/joinBlackList")
|
||||||
@ApiOperation("加入黑名单")
|
@ApiOperation("加入黑名单")
|
||||||
public ResponseResult<Boolean> joinBlackList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> joinBlackList(@RequestBody LineBlackListRequest lineBlackListRequest){
|
||||||
@RequestBody LineBlackListRequest lineBlackListRequest){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -195,8 +180,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/closeOrPassFollow")
|
@PostMapping(path = "/closeOrPassFollow")
|
||||||
@ApiOperation("意向申请审核 结束跟进/通过流程")
|
@ApiOperation("意向申请审核 结束跟进/通过流程")
|
||||||
public ResponseResult<Boolean> closeFollow(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> closeFollow(@RequestBody CloseFollowRequest closeFollowRequest){
|
||||||
@RequestBody CloseFollowRequest closeFollowRequest){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -204,8 +188,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/changeIntentInfo")
|
@PostMapping(path = "/changeIntentInfo")
|
||||||
@ApiOperation("员工端变更C端用户意向信息")
|
@ApiOperation("员工端变更C端用户意向信息")
|
||||||
public ResponseResult<Boolean> changeIntentInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> changeIntentInfo( @RequestBody BaseUserInfoRequest baseUserInfoRequest){
|
||||||
@RequestBody BaseUserInfoRequest baseUserInfoRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -213,8 +196,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/addTags")
|
@PostMapping(path = "/addTags")
|
||||||
@ApiOperation("添加标签接口")
|
@ApiOperation("添加标签接口")
|
||||||
public ResponseResult<Boolean> addTags(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> addTags(@RequestBody AddTagsRequest addTagsRequest){
|
||||||
@RequestBody AddTagsRequest addTagsRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -224,8 +206,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PartnerSummaryInfoVO> queryPartnerIntentApplyInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PartnerSummaryInfoVO> queryPartnerIntentApplyInfo(@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -239,8 +220,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParam(name = "type", value = "可预约-reservation 可申请-apply ", required = false),
|
@ApiImplicitParam(name = "type", value = "可预约-reservation 可申请-apply ", required = false),
|
||||||
@ApiImplicitParam(name = "keyWord", value = "搜索关键字", required = false)
|
@ApiImplicitParam(name = "keyWord", value = "搜索关键字", required = false)
|
||||||
})
|
})
|
||||||
public ResponseResult<List<OpenAreaVO>> getOpenAreaTree(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<List<OpenAreaVO>> getOpenAreaTree(@RequestParam(value = "parentId",required = false)Long parentId,
|
||||||
@RequestParam(value = "parentId",required = false)Long parentId,
|
|
||||||
@RequestParam(value = "type",required = false)String type,
|
@RequestParam(value = "type",required = false)String type,
|
||||||
@RequestParam(value = "keyWord",required = false)String keyWord){
|
@RequestParam(value = "keyWord",required = false)String keyWord){
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -250,8 +230,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/changeOpenAreaStatus")
|
@PostMapping(path = "/changeOpenAreaStatus")
|
||||||
@ApiOperation("变更开放区域状态")
|
@ApiOperation("变更开放区域状态")
|
||||||
public ResponseResult<Boolean> changeOpenAreaStatus(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> changeOpenAreaStatus(@RequestBody OpenAreaRequest openAreaRequest){
|
||||||
@RequestBody OpenAreaRequest openAreaRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -259,16 +238,14 @@ public class DeskController {
|
|||||||
|
|
||||||
@PostMapping(path = "/addZone")
|
@PostMapping(path = "/addZone")
|
||||||
@ApiOperation("新建意向战区/开发战区")
|
@ApiOperation("新建意向战区/开发战区")
|
||||||
public ResponseResult<Boolean> addZone(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> addZone(@RequestBody IntentAreaSettingRequest intentAreaSettingRequest){
|
||||||
@RequestBody IntentAreaSettingRequest intentAreaSettingRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping(path = "/updateZone")
|
@PostMapping(path = "/updateZone")
|
||||||
@ApiOperation("编辑意向战区/开发战区")
|
@ApiOperation("编辑意向战区/开发战区")
|
||||||
public ResponseResult<Boolean> updateZone(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> updateZone(@RequestBody IntentAreaSettingRequest intentAreaSettingRequest){
|
||||||
@RequestBody IntentAreaSettingRequest intentAreaSettingRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -280,8 +257,7 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "type", value = "意向区域-intent 开发区域=dev", required = false),
|
@ApiImplicitParam(name = "type", value = "意向区域-intent 开发区域=dev", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<List<OpenAreaVO>> getZoneList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<List<OpenAreaVO>> getZoneList(@RequestParam(value = "type",required = false)String type,
|
||||||
@RequestParam(value = "type",required = false)String type,
|
|
||||||
@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
|
@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
|
||||||
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
|
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -293,15 +269,14 @@ public class DeskController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "type", value = "意向区域-intent 开发区域=dev", required = false),
|
@ApiImplicitParam(name = "type", value = "意向区域-intent 开发区域=dev", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<List<OpenAreaVO>> deletedZoneList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<List<OpenAreaVO>> deletedZoneList(@RequestParam(value = "id",required = false)Long id){
|
||||||
@RequestParam(value = "id",required = false)Long id){
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@GetMapping(path = "/getAdvanceSetting")
|
@GetMapping(path = "/getAdvanceSetting")
|
||||||
@ApiOperation("查询企业高级设置")
|
@ApiOperation("查询企业高级设置")
|
||||||
public ResponseResult<AdvancedSettingVO> getAdvanceSetting(@PathVariable(value = "enterpriseId", required = false) String enterpriseId){
|
public ResponseResult<AdvancedSettingVO> getAdvanceSetting(){
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -309,8 +284,7 @@ public class DeskController {
|
|||||||
|
|
||||||
@GetMapping(path = "/changeAdvanceSetting")
|
@GetMapping(path = "/changeAdvanceSetting")
|
||||||
@ApiOperation("新增或者修改高级设置")
|
@ApiOperation("新增或者修改高级设置")
|
||||||
public ResponseResult<AdvancedSettingVO> getAdvanceSetting(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<AdvancedSettingVO> getAdvanceSetting(@RequestBody AdvancedSettingRequest advancedSettingRequest){
|
||||||
@RequestBody AdvancedSettingRequest advancedSettingRequest){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.util.List;
|
|||||||
* @date 2023-05-30 17:20
|
* @date 2023-05-30 17:20
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/enterprises/{enterpriseId}/users"})
|
@RequestMapping({"/enterprises/users"})
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class EnterpriseUserController {
|
public class EnterpriseUserController {
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import javax.validation.Valid;
|
|||||||
|
|
||||||
@Api(tags = "微信小程序app接口")
|
@Api(tags = "微信小程序app接口")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/v1/partnerManage/{enterpriseId}/miniProgram" })
|
@RequestMapping({"/v1/partnerManage/miniProgram" })
|
||||||
public class MiniProgramAppController {
|
public class MiniProgramAppController {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import java.util.List;
|
|||||||
* @Version 1.0
|
* @Version 1.0
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/v1/partnerManage/{enterpriseId}/openArea" })
|
@RequestMapping({"/v1/partnerManage/openArea" })
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Api(tags = "小程序开发区域城市")
|
@Api(tags = "小程序开发区域城市")
|
||||||
public class OpenAreaController {
|
public class OpenAreaController {
|
||||||
@@ -32,8 +32,7 @@ public class OpenAreaController {
|
|||||||
@ApiImplicitParam(name = "parentId", value = "父区域名称", required = false),
|
@ApiImplicitParam(name = "parentId", value = "父区域名称", required = false),
|
||||||
@ApiImplicitParam(name = "type", value = "可预约-reservation 可申请-apply ", required = false)
|
@ApiImplicitParam(name = "type", value = "可预约-reservation 可申请-apply ", required = false)
|
||||||
})
|
})
|
||||||
public ResponseResult<List<OpenAreaVO>> getOpenAreaList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<List<OpenAreaVO>> getOpenAreaList(@RequestParam(value = "parentId",required = false)Long parentId,
|
||||||
@RequestParam(value = "parentId",required = false)Long parentId,
|
|
||||||
@RequestParam(value = "type",required = false)String type){
|
@RequestParam(value = "type",required = false)String type){
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -45,8 +44,7 @@ public class OpenAreaController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "keyWord", value = "搜索关键字", required = false),
|
@ApiImplicitParam(name = "keyWord", value = "搜索关键字", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<List<OpenAreaTreeVO>> getOpenAreaList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<List<OpenAreaTreeVO>> getOpenAreaList(@RequestParam(value = "keyWord",required = false)String keyWord){
|
||||||
@RequestParam(value = "keyWord",required = false)String keyWord){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -55,8 +53,7 @@ public class OpenAreaController {
|
|||||||
|
|
||||||
@GetMapping(path = "/getKeyOpenAreaList")
|
@GetMapping(path = "/getKeyOpenAreaList")
|
||||||
@ApiOperation("重点开放城市列表)")
|
@ApiOperation("重点开放城市列表)")
|
||||||
public ResponseResult<PageInfo<OpenAreaVO>> getOpenAreaList(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PageInfo<OpenAreaVO>> getOpenAreaList(@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
|
||||||
@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
|
|
||||||
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
|
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -66,7 +63,7 @@ public class OpenAreaController {
|
|||||||
|
|
||||||
@GetMapping(path = "/getOpenProvince")
|
@GetMapping(path = "/getOpenProvince")
|
||||||
@ApiOperation("可申请加盟省份/可预约加盟省份")
|
@ApiOperation("可申请加盟省份/可预约加盟省份")
|
||||||
public ResponseResult<OpenProvinceVO> getOpenProvince(@PathVariable(value = "enterpriseId", required = false) String enterpriseId){
|
public ResponseResult<OpenProvinceVO> getOpenProvince(){
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import java.util.List;
|
|||||||
* @Version 1.0
|
* @Version 1.0
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping({"/v1/partnerManage/{enterpriseId}/partner" })
|
@RequestMapping({"/v1/partnerManage/partner" })
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Api(tags = "加盟商信息")
|
@Api(tags = "加盟商信息")
|
||||||
public class PartnerController {
|
public class PartnerController {
|
||||||
@@ -31,8 +31,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/applyBaseInfo")
|
@PostMapping(path = "/applyBaseInfo")
|
||||||
@ApiOperation("提交基本信息")
|
@ApiOperation("提交基本信息")
|
||||||
public ResponseResult<Boolean> applyBaseInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> applyBaseInfo(@RequestBody BaseUserInfoRequest baseUserInfoRequest){
|
||||||
@RequestBody BaseUserInfoRequest baseUserInfoRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -40,7 +39,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@GetMapping(path = "/getSubmitIntentionApplyFlag")
|
@GetMapping(path = "/getSubmitIntentionApplyFlag")
|
||||||
@ApiOperation("获取提交意向申请标识 true 已提交 false 未提交")
|
@ApiOperation("获取提交意向申请标识 true 已提交 false 未提交")
|
||||||
public ResponseResult<Boolean> getSubmitIntentionApplyFlag(@PathVariable(value = "enterpriseId", required = false) String enterpriseId){
|
public ResponseResult<Boolean> getSubmitIntentionApplyFlag(){
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -52,8 +51,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "idCard", value = "身份证号码", required = false),
|
@ApiImplicitParam(name = "idCard", value = "身份证号码", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<Boolean> getLineByIdCard(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> getLineByIdCard(@RequestParam(value = "idCard",required = false)String idCard){
|
||||||
@RequestParam(value = "idCard",required = false)String idCard){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -66,8 +64,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParam(name = "idCard", value = "身份证号码", required = false),
|
@ApiImplicitParam(name = "idCard", value = "身份证号码", required = false),
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<Boolean> changeBinding(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> changeBinding(@RequestParam(value = "idCard",required = false)String idCard,
|
||||||
@RequestParam(value = "idCard",required = false)String idCard,
|
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -76,8 +73,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/submitPartnerBaseInfo")
|
@PostMapping(path = "/submitPartnerBaseInfo")
|
||||||
@ApiOperation("提交加盟商基本信息")
|
@ApiOperation("提交加盟商基本信息")
|
||||||
public ResponseResult<Boolean> submitPartnerBaseInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> submitPartnerBaseInfo(@RequestBody PartnerBaseInfoRequest PartnerBaseInfoRequest){
|
||||||
@RequestBody PartnerBaseInfoRequest PartnerBaseInfoRequest){
|
|
||||||
|
|
||||||
//前提 未提交加盟申请
|
//前提 未提交加盟申请
|
||||||
//成功 意向区域变更成功 失败 您已进入意向申请流程,当前不可变更意向区域
|
//成功 意向区域变更成功 失败 您已进入意向申请流程,当前不可变更意向区域
|
||||||
@@ -86,8 +82,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/submitPartnerClerkInfo")
|
@PostMapping(path = "/submitPartnerClerkInfo")
|
||||||
@ApiOperation("提交加盟商店员信息")
|
@ApiOperation("提交加盟商店员信息")
|
||||||
public ResponseResult<Boolean> submitPartnerClerkInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> submitPartnerClerkInfo(@RequestBody PartnerClerkInfoRequest partnerClerkInfoRequest){
|
||||||
@RequestBody PartnerClerkInfoRequest partnerClerkInfoRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -95,8 +90,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/submitPartnerIntentInfo")
|
@PostMapping(path = "/submitPartnerIntentInfo")
|
||||||
@ApiOperation("提交加盟商意向信息/行业认知")
|
@ApiOperation("提交加盟商意向信息/行业认知")
|
||||||
public ResponseResult<Boolean> submitPartnerIntentInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> submitPartnerIntentInfo(@RequestBody PartnerIntentInfoRequest partnerIntentInfoRequest){
|
||||||
@RequestBody PartnerIntentInfoRequest partnerIntentInfoRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -105,8 +99,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/changePartnerClerkInfo")
|
@PostMapping(path = "/changePartnerClerkInfo")
|
||||||
@ApiOperation("修改加盟商店员信息")
|
@ApiOperation("修改加盟商店员信息")
|
||||||
public ResponseResult<Boolean> changePartnerClerkInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> changePartnerClerkInfo(@RequestBody PartnerClerkInfoRequest partnerClerkInfoRequest){
|
||||||
@RequestBody PartnerClerkInfoRequest partnerClerkInfoRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -114,8 +107,7 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/changePartnerIntentInfo")
|
@PostMapping(path = "/changePartnerIntentInfo")
|
||||||
@ApiOperation("修改加盟商意向信息/行业认知")
|
@ApiOperation("修改加盟商意向信息/行业认知")
|
||||||
public ResponseResult<Boolean> changePartnerIntentInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<Boolean> changePartnerIntentInfo(@RequestBody PartnerIntentInfoRequest partnerIntentInfoRequest){
|
||||||
@RequestBody PartnerIntentInfoRequest partnerIntentInfoRequest){
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
@@ -128,8 +120,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "partnerId", value = "C端用户基本信息ID", required = false),
|
@ApiImplicitParam(name = "partnerId", value = "C端用户基本信息ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PartnerLineBaseInfoVO> getPartnerLinBaseInfo(@PathVariable(value = "enterpriseId", required = false) String enterpriseId,
|
public ResponseResult<PartnerLineBaseInfoVO> getPartnerLinBaseInfo(@RequestParam(value = "partnerId",required = false)Long partnerId){
|
||||||
@RequestParam(value = "partnerId",required = false)Long partnerId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -142,8 +133,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PartnerBaseInfoVO> queryPartnerBaseInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
|
public ResponseResult<PartnerBaseInfoVO> queryPartnerBaseInfo(@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -155,8 +145,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<List<PartnerClerkVO>> queryPartnerClerkInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
|
public ResponseResult<List<PartnerClerkVO>> queryPartnerClerkInfo(@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -168,8 +157,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<PartnerIntentInfoVO> queryPartnerIntentInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
|
public ResponseResult<PartnerIntentInfoVO> queryPartnerIntentInfo(@RequestParam(value = "lineId",required = false)Long lineId){
|
||||||
@RequestParam(value = "lineId",required = false)Long lineId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -183,8 +171,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "partnerId", value = "加盟商ID", required = false),
|
@ApiImplicitParam(name = "partnerId", value = "加盟商ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<Boolean> completeJoinNotice(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
|
public ResponseResult<Boolean> completeJoinNotice(@RequestParam(value = "partnerId",required = false)Long partnerId){
|
||||||
@RequestParam(value = "partnerId",required = false)Long partnerId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
@@ -196,8 +183,7 @@ public class PartnerController {
|
|||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "partnerId", value = "加盟商ID", required = false),
|
@ApiImplicitParam(name = "partnerId", value = "加盟商ID", required = false),
|
||||||
})
|
})
|
||||||
public ResponseResult<Boolean> queryJoinNotice(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
|
public ResponseResult<Boolean> queryJoinNotice(@RequestParam(value = "partnerId",required = false)Long partnerId){
|
||||||
@RequestParam(value = "partnerId",required = false)Long partnerId){
|
|
||||||
|
|
||||||
|
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
|
|||||||
Reference in New Issue
Block a user