支付二维码图片

This commit is contained in:
wangxiaopeng
2024-04-25 20:27:59 +08:00
parent df6226abe7
commit ca8856539b
5 changed files with 24 additions and 4 deletions

View File

@@ -57,7 +57,8 @@ public class SignValidateFilter implements Filter {
"/**/swagger*/**",
"/**/webjars/**",
"/xfsg/mini/program/v1/partnerManage/openArea/areaApplyQuery",
"/xfsg/*/api/audit/result"
"/xfsg/*/api/audit/result",
"/xfsg/mini/line/getRegionPayPic"
);

View File

@@ -1,6 +1,7 @@
package com.cool.store.controller.webc;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.LinePayService;
import com.cool.store.service.LineService;
import com.cool.store.vo.IntendProcessTotalVO;
import com.cool.store.vo.LineInfoVO;
@@ -34,6 +35,10 @@ public class LineController {
@Resource
LineService lineService;
@Resource
LinePayService linePayService;
@ApiOperation("查询线索详情")
@GetMapping("/getLineDetail")
@ApiImplicitParams({
@@ -46,8 +51,7 @@ public class LineController {
@ApiOperation("根据线索id查询大区的支付二维码图片")
@GetMapping("/getRegionPayPic")
public ResponseResult<String> getRegionPayPic(@RequestParam("lineId")Long lineId) {
String pic = "https://coolstore-storage.oss-cn-hangzhou.aliyuncs.com/120207001943.png";
return ResponseResult.success(pic);
return ResponseResult.success(lineService.getPayPicByLineId(lineId));
}