|
@@ -176,9 +176,10 @@ public class LawyerConsultationOrderController {
|
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "clientUserId", value = "客户端用户ID", dataType = "Integer", paramType = "query"),
|
|
@ApiImplicitParam(name = "clientUserId", value = "客户端用户ID", dataType = "Integer", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "lawyerUserId", value = "律师用户ID", dataType = "Integer", paramType = "query"),
|
|
@ApiImplicitParam(name = "lawyerUserId", value = "律师用户ID", dataType = "Integer", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "problemScenarioId", value = "法律问题场景ID", dataType = "Integer", paramType = "query"),
|
|
|
|
|
|
|
+ @ApiImplicitParam(name = "problemScenarioId", value = "法律问题场景ID", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "problemDescription", value = "问题描述", dataType = "String", paramType = "query"),
|
|
@ApiImplicitParam(name = "problemDescription", value = "问题描述", dataType = "String", paramType = "query"),
|
|
|
- @ApiImplicitParam(name = "orderAmount", value = "订单金额,单位分", dataType = "Decimal", paramType = "query"),
|
|
|
|
|
|
|
+ @ApiImplicitParam(name = "alipayNo", value = "支付宝订单编号", dataType = "String", paramType = "query"),
|
|
|
|
|
+ @ApiImplicitParam(name = "orderStr", value = "支付宝订单字符串", dataType = "String", paramType = "query"),
|
|
|
// @ApiImplicitParam(name = "lawyerName", value = "律师姓名(支持模糊查询,关联查询)", dataType = "String", paramType = "query"),
|
|
// @ApiImplicitParam(name = "lawyerName", value = "律师姓名(支持模糊查询,关联查询)", dataType = "String", paramType = "query"),
|
|
|
// @ApiImplicitParam(name = "consultationFee", value = "咨询费用,单位分", dataType = "Integer", paramType = "query"),
|
|
// @ApiImplicitParam(name = "consultationFee", value = "咨询费用,单位分", dataType = "Integer", paramType = "query"),
|
|
|
// @ApiImplicitParam(name = "startTime", value = "咨询开始时间", dataType = "Date", paramType = "query"),
|
|
// @ApiImplicitParam(name = "startTime", value = "咨询开始时间", dataType = "Date", paramType = "query"),
|
|
@@ -188,10 +189,10 @@ public class LawyerConsultationOrderController {
|
|
|
// @ApiImplicitParam(name = "paymentStatus", value = "支付状态, 0:未支付, 1:已支付", dataType = "Integer", paramType = "query"),
|
|
// @ApiImplicitParam(name = "paymentStatus", value = "支付状态, 0:未支付, 1:已支付", dataType = "Integer", paramType = "query"),
|
|
|
})
|
|
})
|
|
|
@PostMapping("/consultNow")
|
|
@PostMapping("/consultNow")
|
|
|
- public R<LawyerConsultationOrderDto> startConsultation(Integer clientUserId,Integer lawyerUserId,Integer problemScenarioId ,String problemDescription , BigDecimal orderAmount) {
|
|
|
|
|
- log.info("LawyerConsultationOrderController.consultNow?clientUserId={},lawyerUserId={},problemScenarioId={},problemScenarioId={},orderAmount{}",
|
|
|
|
|
- clientUserId, lawyerUserId, problemScenarioId, problemDescription, orderAmount);
|
|
|
|
|
- return consultationOrderService.consultNow(clientUserId, lawyerUserId, problemScenarioId, problemDescription, orderAmount);
|
|
|
|
|
|
|
+ public R<LawyerConsultationOrderDto> startConsultation(Integer clientUserId,Integer lawyerUserId,String problemScenarioId ,String problemDescription , BigDecimal orderAmount ,String alipayNo ,String orderStr) {
|
|
|
|
|
+ log.info("LawyerConsultationOrderController.consultNow?clientUserId={},lawyerUserId={},problemScenarioId={},problemScenarioId={},orderAmount{},alipayNo{},orderStr{}",
|
|
|
|
|
+ clientUserId, lawyerUserId, problemScenarioId, problemDescription, orderAmount, alipayNo, orderStr);
|
|
|
|
|
+ return consultationOrderService.consultNow(clientUserId, lawyerUserId, problemScenarioId, problemDescription, orderAmount, alipayNo, orderStr);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|