接口定义
This commit is contained in:
@@ -23,6 +23,7 @@ import javax.validation.Valid;
|
||||
|
||||
@Api(tags = "微信小程序app接口")
|
||||
@RestController
|
||||
@RequestMapping({"/v1/partnerManage/{enterprise-id}/miniProgram" })
|
||||
public class MiniProgramAppController {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user