接口定义

This commit is contained in:
苏竹红
2023-05-31 09:50:06 +08:00
parent 4b1ef561e5
commit 8a2ec92e55
39 changed files with 938 additions and 21 deletions

View File

@@ -19,7 +19,7 @@
</jdbcConnection>
<!-- targetProject:生成PO类的位置 -->
<javaModelGenerator targetPackage="com.cool.store.model.entity" targetProject="coolstore-partner-model/src/main/java">
<javaModelGenerator targetPackage="com.cool.store.entity" targetProject="coolstore-partner-model/src/main/java">
<property name="enableSubPackages" value="true"/>
</javaModelGenerator>

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -1,4 +1,4 @@
package com.cool.store.model.entity;
package com.cool.store.entity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

View File

@@ -0,0 +1,21 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2023/5/30 21:22
* @Version 1.0
*/
@Data
@ApiModel
public class AllocationInvestmentManagerRequest {
private List<Long> lineIdList;
private String userId;
}

View File

@@ -0,0 +1,23 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/30 21:50
* @Version 1.0
*/
@Data
@ApiModel
public class LineBlackListRequest {
@ApiModelProperty("线索ID")
private Long lineId;
@ApiModelProperty("加入/移出 黑名单原因")
private String cause;
}

View File

@@ -0,0 +1,34 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 21:08
* @Version 1.0
*/
@Data
@ApiModel
public class LineRequest {
@ApiModelProperty("关键字")
private String keyWord;
@ApiModelProperty("意向区域")
private String intentArea;
@ApiModelProperty("调剂类型")
private Integer acceptAdjustType;
@ApiModelProperty("更新时间")
private Date updateTime;
}

View File

@@ -0,0 +1,16 @@
package com.cool.store.request;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/30 20:33
* @Version 1.0
*/
@Data
public class PageInfoRequest {
private Integer pageSize;
private Integer pageNum;
}

View File

@@ -0,0 +1,57 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 15:09
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerBaseInfoRequest {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("hy_partner_line_info.id")
private Long partnerLineId;
@ApiModelProperty("手机号")
private String mobile;
@ApiModelProperty("姓名")
private String username;
@ApiModelProperty("1男 2女")
private Boolean sex;
@ApiModelProperty("民族")
private String nation;
@ApiModelProperty("出生日期")
private Date birthdate;
@ApiModelProperty("身份证")
private String idCard;
@ApiModelProperty("身份证正面")
private String idCardPhotoFront;
@ApiModelProperty("身份证反面")
private String idCardPhotoBlack;
@ApiModelProperty("住址")
private String liveAddress;
}

View File

@@ -0,0 +1,37 @@
package com.cool.store.request;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/30 15:19
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerClerkRequest {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("hy_partner_line_info.id")
private Long partnerLineId;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("伙伴姓名")
private String username;
@ApiModelProperty("关系")
private String relationship;
@ApiModelProperty("年龄")
private Integer age;
@ApiModelProperty("选择原因")
private String chooseReason;
}

View File

@@ -0,0 +1,79 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/30 15:14
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerIntentInfoRequest {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("hy_partner_line_info.id")
private Long partnerLineId;
@ApiModelProperty("常驻区域")
private String liveArea;
@ApiModelProperty("意向开店区域")
private String wantShopArea;
@ApiModelProperty("0不接受调剂、1全国调剂、2省内调剂、3市内调剂")
private Integer acceptAdjustType;
@ApiModelProperty("是否有意向铺位")
private Integer isHaveWantShop;
@ApiModelProperty("意向铺位信息,json字段,最多5个")
private String wantShopInfo;
@ApiModelProperty("最大预算")
private String maxBudget;
@ApiModelProperty("资金来源 1自有资金;2借贷资金;3部分自有、部分借代;4部分自有、部分亲友借代")
private String moneySource;
@ApiModelProperty("资金证明")
private String moneyProve;
@ApiModelProperty("学历")
private String education;
@ApiModelProperty("工作年限")
private String workYear;
@ApiModelProperty("是否具有工作经验")
private Integer isHaveWorkExp;
@ApiModelProperty("工作或经商经验")
private String workExp;
@ApiModelProperty("是否是消费者")
private Integer isConsumer;
@ApiModelProperty("其他品牌")
private String otherBand;
@ApiModelProperty("品牌优势")
private String brandStrength;
@ApiModelProperty("需要改进")
private String needImprove;
@ApiModelProperty("优势")
private String strength;
@ApiModelProperty("劣势")
private String weakness;
}

View File

@@ -0,0 +1,26 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2023/5/30 15:27
* @Version 1.0
*/
@ApiModel
@Data
public class PartnerSummaryInfo {
@ApiModelProperty("加盟商基本信息对象")
private PartnerBaseInfoRequest partnerBaseInfoRequest;
@ApiModelProperty("加盟商店员信息列表")
private List<PartnerClerkRequest> partnerClerkRequestList;
@ApiModelProperty("加盟商意向信息/行业认知")
private PartnerIntentInfoRequest partnerIntentInfoRequest;
@ApiModelProperty("提交标识 提交-true 暂存-false")
private Boolean submitFlag;
}

View File

@@ -0,0 +1,49 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 21:27
* @Version 1.0
*/
@Data
@ApiModel
public class PrivateSeaLineListRequest {
@ApiModelProperty("【用户姓名】、【手机号】、【招商经理姓名】或【招商经理手机号】")
private String keyWord;
@ApiModelProperty("一级下拉列表选择当前意向阶段")
private String workflowStage;
@ApiModelProperty("二级下拉列表可选项为当前一级下拉列表选中的意向阶段的状态")
private String workflowStatus;
@ApiModelProperty("截止时间_开始")
private Date deadlineStart;
@ApiModelProperty("截止时间_结束")
private Date deadlineEnd;
@ApiModelProperty("意向区域")
private String IntentArea;
@ApiModelProperty("调剂方式")
private Integer acceptAdjustType;
@ApiModelProperty("【推荐店铺编码】、【推荐店铺名称】、【加盟商姓名】或【手机号】")
private String keyInfo;
}

View File

@@ -0,0 +1,22 @@
package com.cool.store.request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/30 19:50
* @Version 1.0
*/
@Data
@ApiModel
public class StageCountRequest extends PageInfoRequest {
@ApiModelProperty("类型 待处理-Pending 待跟进-follow")
private String type;
@ApiModelProperty("流程阶段")
private String workflowStage;
}

View File

@@ -0,0 +1,33 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 17:30
* @Version 1.0
*/
@Data
@ApiModel
public class InterviewScheduleInfoVO {
@ApiModelProperty("当前日期面试数量")
private Integer currentDayInterviewCount;
@ApiModelProperty("当前日期后七天面试数量")
private Integer lastSevenDayInterviewCount;
@ApiModelProperty("面试者ID")
private String userId;
@ApiModelProperty("面试者名称")
private String userName;
@ApiModelProperty("面试者手机号")
private String userPhone;
@ApiModelProperty("线索ID")
private Long lineId;
@ApiModelProperty("面试开始时间")
private Date startTime;
}

View File

@@ -0,0 +1,46 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 20:11
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerIntentApplyInfoVO {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("hy_partner_line_info.id")
private Long partnerLineId;
@ApiModelProperty("常驻区域")
private String liveArea;
@ApiModelProperty("意向开店区域")
private String wantShopArea;
@ApiModelProperty("0不接受调剂、1全国调剂、2省内调剂、3市内调剂")
private Integer acceptAdjustType;
@ApiModelProperty("截止时间")
private Date deadline;
@ApiModelProperty("阶段提交时间")
private Date partnerSubmitTime;
}

View File

@@ -0,0 +1,45 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 20:28
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerInterviewInfoVO {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("预约状态 0 待预约;1待面试;2已开始;3待审核;4审批中;5审批通过;6拒绝")
private Integer status;
@ApiModelProperty("hy_partner_line_info.id")
private Long partnerLineId;
@ApiModelProperty("hy_partner_interview_arrangement.id")
private Long interviewArrangementId;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("截止时间")
private Date deadline;
@ApiModelProperty("审批发起时间")
private Date approveTime;
@ApiModelProperty("意向合同号")
private String authCode;
}

View File

@@ -0,0 +1,77 @@
package com.cool.store.vo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 15:56
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerLineInfoVO {
@ApiModelProperty("")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("流程阶段:1意向申请审核;2预约面试时间;3加盟资格面试;4分配选址开发经理;5商圈点位评估;6上传店铺租赁信息;7完善加盟签约信息;8支付加盟费用;9签订加盟合同")
private String workflowStage;
@ApiModelProperty("流程子状态")
private String workflowStatus;
@ApiModelProperty("线索状态:0公海线索;1跟进中;2合作中;3黑名单")
private Integer lineStatus;
@ApiModelProperty("招商经理")
private String investmentManager;
@ApiModelProperty("开发主管")
private String developmentDirector;
@ApiModelProperty("开发经理")
private String developmentManager;
@ApiModelProperty("截止时间")
private Date deadline;
@ApiModelProperty("通过原因")
private String passReason;
@ApiModelProperty("公开拒绝原因")
private String rejectPublicReason;
@ApiModelProperty("真实拒绝原因")
private String rejectRealReason;
@ApiModelProperty("证明文件或凭证")
private String certifyFile;
@ApiModelProperty("冷静期首次登录 是-true 否-false")
private Boolean coolingPeriodFirstLoginFlag;
@ApiModelProperty("加盟商用户ID")
private String partnerUserId;
@ApiModelProperty("加盟商用户名称")
private String partnerUserName;
@ApiModelProperty("加盟商用户手机号")
private String partnerUserPhone;
@ApiModelProperty("结束操作人ID")
private String closeUserId ;
@ApiModelProperty("结束操作人名称")
private String closeUserName ;
@ApiModelProperty("结束时间")
private Date closeDate ;
}

View File

@@ -0,0 +1,69 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 19:58
* @Version 1.0
*/
@Data
@ApiModel
public class PartnerStageInfoVO {
@ApiModelProperty("线索ID")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("流程阶段:1意向申请审核;2预约面试时间;3加盟资格面试;4分配选址开发经理;5商圈点位评估;6上传店铺租赁信息;7完善加盟签约信息;8支付加盟费用;9签订加盟合同")
private String workflowStage;
@ApiModelProperty("流程子状态")
private String workflowStatus;
@ApiModelProperty("加盟商用户ID")
private String partnerUserId;
@ApiModelProperty("加盟商用户名称")
private String partnerUserName;
@ApiModelProperty("加盟商用户手机号")
private String partnerUserPhone;
@ApiModelProperty("手机号归属地")
private String phoneAddress;
@ApiModelProperty("创建时间")
private String createTime;
@ApiModelProperty("面试开始时间")
private Date partnerInterviewStartTime;
@ApiModelProperty("公开拒绝原因")
private String rejectPublicReason;
@ApiModelProperty("真实拒绝原因")
private String rejectRealReason;
@ApiModelProperty("返回公海时间")
private Date LastCloseDate ;
@ApiModelProperty("招商经理")
private String lastInvestmentManager;
@ApiModelProperty("跟进次数")
private Integer followCount;
@ApiModelProperty("意向审核信息")
private PartnerIntentApplyInfoVO partnerIntentApplyInfoVO;
@ApiModelProperty("预约面试、合格资格面试 信息")
private PartnerInterviewInfoVO partnerInterviewInfoVO;
}

View File

@@ -0,0 +1,62 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 21:38
* @Version 1.0
*/
@Data
@ApiModel
public class PrivateSeaLineListVo {
@ApiModelProperty("线索ID")
private Long id;
@ApiModelProperty("hy_partner_user_info.partner_id")
private String partnerId;
@ApiModelProperty("流程阶段:1意向申请审核;2预约面试时间;3加盟资格面试;4分配选址开发经理;5商圈点位评估;6上传店铺租赁信息;7完善加盟签约信息;8支付加盟费用;9签订加盟合同")
private String workflowStage;
@ApiModelProperty("流程子状态")
private String workflowStatus;
@ApiModelProperty("加盟商用户ID")
private String partnerUserId;
@ApiModelProperty("加盟商用户名称")
private String partnerUserName;
@ApiModelProperty("加盟商用户手机号")
private String partnerUserPhone;
@ApiModelProperty("截止时间")
private Date deadline;
@ApiModelProperty("招商经理")
private String investmentManager;
@ApiModelProperty("开发主管")
private String developmentDirector;
@ApiModelProperty("开发经理")
private String developmentManager;
@ApiModelProperty("意向开店区域")
private String wantShopArea;
@ApiModelProperty("0不接受调剂、1全国调剂、2省内调剂、3市内调剂")
private Integer acceptAdjustType;
}

View File

@@ -0,0 +1,22 @@
package com.cool.store.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2023/5/30 19:43
* @Version 1.0
*/
@Data
@ApiModel
public class StageCountVO {
@ApiModelProperty("意向申请审核数量")
private Integer intentApplyApproveCount;
@ApiModelProperty("预约面试数量")
private Integer reservationInterviewCount;
@ApiModelProperty("合格资格面试数量")
private Integer qualifiedInterviewCount;
}

View File

@@ -0,0 +1,134 @@
package com.cool.store.controller;
import com.cool.store.request.*;
import com.cool.store.response.ResponseResult;
import com.cool.store.vo.*;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import java.util.Date;
/**
* @Author suzhuhong
* @Date 2023/5/30 17:19
* @Version 1.0
*/
@RestController
@Slf4j
public class DeskController {
@GetMapping(path = "/interviewSchedule")
@ApiOperation("面试日程信息 面试信息有限 不做分页")
public ResponseResult<InterviewScheduleInfoVO> interviewSchedule(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "selectedData",required = false) Date selectedData){
return ResponseResult.success();
}
@PostMapping(path = "/queryStageCount")
@ApiOperation("招商经理视角====各阶段待处理待跟进数量")
public ResponseResult<StageCountVO> queryStageCount(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody StageCountRequest stageCountRequest){
return ResponseResult.success();
}
@PostMapping(path = "/queryStageList")
@ApiOperation("招商经理视角====各阶段待数据列表")
public ResponseResult<PageInfo<PartnerStageInfoVO>> queryStageList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody StageCountRequest stageCountRequest){
return ResponseResult.success();
}
@GetMapping(path = "/getPartnerLineDetail")
@ApiOperation("查询加盟商线索详情 包括冷静期是否首次登录")
@ApiImplicitParams({
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<PartnerLineInfoVO> getPartnerLineDetail(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "lineId",required = false)Long lineId){
return ResponseResult.success();
}
@GetMapping(path = "/lastMonthCloseLine")
@ApiOperation("最近30天结束的线索")
public ResponseResult<PageInfo<PartnerLineInfoVO>> lastMonthCloseLine(@PathVariable(value = "enterprise-id", required = false) String enterpriseId){
return ResponseResult.success();
}
@PostMapping(path = "/allocationInvestmentManager")
@ApiOperation("分配招商经理")
public ResponseResult<PageInfo<PartnerStageInfoVO>> allocationInvestmentManager(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody AllocationInvestmentManagerRequest allocationInvestmentManagerRequest){
return ResponseResult.success();
}
@PostMapping(path = "/queryPublicSeqLineList")
@ApiOperation("公海列表")
public ResponseResult<PageInfo<PartnerStageInfoVO>> queryPublicSeaLineList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody LineRequest LineRequest){
return ResponseResult.success();
}
@PostMapping(path = "/queryPrivateSeaLineList")
@ApiOperation("私海列表")
public ResponseResult<PageInfo<PrivateSeaLineListVo>> queryPrivateSeqLineList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody PrivateSeaLineListRequest privateSeaLineListRequest){
return ResponseResult.success();
}
@PostMapping(path = "/queryBlackList")
@ApiOperation("黑名单列表")
public ResponseResult<PageInfo<PartnerStageInfoVO>> queryBlackList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody LineRequest LineRequest){
return ResponseResult.success();
}
@PostMapping(path = "/removeBlackList")
public ResponseResult<Boolean> removeBlackList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody LineBlackListRequest lineBlackListRequest){
return ResponseResult.success();
}
@PostMapping(path = "/joinBlackList")
public ResponseResult<Boolean> joinBlackList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody LineBlackListRequest lineBlackListRequest){
return ResponseResult.success();
}
}

View File

@@ -23,6 +23,7 @@ import javax.validation.Valid;
@Api(tags = "微信小程序app接口")
@RestController
@RequestMapping({"/v1/partnerManage/{enterprise-id}/miniProgram" })
public class MiniProgramAppController {
@Resource

View File

@@ -33,9 +33,9 @@ public class OpenAreaController {
})
public ResponseResult<PageInfo<OpenAreaVO>> getOpenAreaList(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "keyOpenFlag",required = false)Boolean keyOpenFlag,
@RequestParam(value = "parentId",required = false)Boolean parentId,
@RequestParam(value = "type",required = false)Boolean type,
@RequestParam(value = "keyWord",required = false)Boolean keyWord,
@RequestParam(value = "parentId",required = false)Long parentId,
@RequestParam(value = "type",required = false)String type,
@RequestParam(value = "keyWord",required = false)String keyWord,
@RequestParam(value = "pageNumber",required = false,defaultValue = "1")Integer pageNumber,
@RequestParam(value = "pageSize",required = false,defaultValue = "10")Integer pageSize){
return ResponseResult.success();

View File

@@ -1,9 +1,13 @@
package com.cool.store.controller;
import com.cool.store.request.BaseUserInfoRequest;
import com.cool.store.request.PartnerSummaryInfo;
import com.cool.store.response.ResponseResult;
import com.cool.store.vo.OpenAreaVO;
import com.cool.store.vo.PartnerLineInfoVO;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
@@ -49,9 +53,69 @@ public class PartnerController {
}
@GetMapping(path = "/getLineByIdCard")
@ApiOperation("通过身份证号码查询线索")
@ApiImplicitParams({
@ApiImplicitParam(name = "idCard", value = "身份证号码", required = false),
})
public ResponseResult<Boolean> getLineByIdCard(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "idCard",required = false)String idCard){
return ResponseResult.success();
}
@GetMapping(path = "/changeBinding")
@ApiOperation("换绑微信")
@ApiImplicitParams({
@ApiImplicitParam(name = "idCard", value = "身份证号码", required = false),
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<Boolean> changeBinding(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "idCard",required = false)String idCard,
@RequestParam(value = "lineId",required = false)Long lineId){
return ResponseResult.success();
}
@PostMapping(path = "/submitPartnerSummaryInfo")
@ApiOperation("提交加盟商汇总信息")
public ResponseResult<Boolean> submitPartnerSummaryInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody PartnerSummaryInfo partnerSummaryInfo){
//前提 未提交加盟申请
//成功 意向区域变更成功 失败 您已进入意向申请流程,当前不可变更意向区域
return ResponseResult.success();
}
@PostMapping(path = "/changePartnerSummaryInfo")
@ApiOperation("修改加盟商汇总信息 修改意向信息 修改店员信息 修改行业认知")
public ResponseResult<Boolean> changePartnerSummaryInfo(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestBody PartnerSummaryInfo partnerSummaryInfo){
//前提 未提交加盟申请
//成功 意向区域变更成功 失败 您已进入意向申请流程,当前不可变更意向区域
return ResponseResult.success();
}
@GetMapping(path = "/getPartnerLineDetail")
@ApiOperation("查询加盟商线索详情 包括冷静期是否首次登录")
@ApiImplicitParams({
@ApiImplicitParam(name = "lineId", value = "线索ID", required = false),
})
public ResponseResult<PartnerLineInfoVO> getPartnerLineDetail(@PathVariable(value = "enterprise-id", required = false) String enterpriseId,
@RequestParam(value = "lineId",required = false)Long lineId){
return ResponseResult.success();
}