支持跳过
This commit is contained in:
@@ -146,4 +146,14 @@ public class LineInfoController {
|
||||
return ResponseResult.success(lineService.addLine(addLineRequest));
|
||||
}
|
||||
|
||||
@ApiOperation("跳过意向金")
|
||||
@GetMapping("/skipPay")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "lineId", value = "线索id", required = true)
|
||||
})
|
||||
public ResponseResult<Boolean> skipPay(@RequestParam("lineId")Long lineId) {
|
||||
return ResponseResult.success(linePayService.skipPay(lineId,CurrentUserHolder.getUser()));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@ import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.response.SigningBaseInfoResponse;
|
||||
import com.cool.store.service.IntentAgreementService;
|
||||
import io.swagger.annotations.Api;
|
||||
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.*;
|
||||
@@ -58,7 +60,14 @@ public class PCIntentAgreementController {
|
||||
return ResponseResult.success(intentAgreementService.getOaDetail(mobile,idCardNo));
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("跳过意向协议")
|
||||
@GetMapping("/skipIntentAgreement")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "lineId", value = "线索id", required = true)
|
||||
})
|
||||
public ResponseResult<Boolean> skipIntentAgreement(@RequestParam("lineId")Long lineId) {
|
||||
return ResponseResult.success(intentAgreementService.skipIntentAgreement(lineId,CurrentUserHolder.getUser()));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -39,15 +39,6 @@ public class LinePayController {
|
||||
return ResponseResult.success(linePayService.getLinePayInfo(lineId, PayBusinessTypeEnum.INTENT_MONEY.getCode(),null));
|
||||
}
|
||||
|
||||
@ApiOperation("跳过意向金")
|
||||
@GetMapping("/skipPay")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "lineId", value = "线索id", required = true)
|
||||
})
|
||||
public ResponseResult<Boolean> skipPay(@RequestParam("lineId")Long lineId) {
|
||||
return ResponseResult.success(linePayService.skipPay(lineId));
|
||||
}
|
||||
|
||||
@ApiOperation("缴纳意向金/加盟费")
|
||||
@PostMapping("/submitPayInfo")
|
||||
public ResponseResult<Long> submitPayInfo(@RequestBody LinePaySubmitRequest request){
|
||||
|
||||
Reference in New Issue
Block a user