修改图片名称
This commit is contained in:
@ -17,7 +17,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
@RestController
|
||||
@Api(tags = "")
|
||||
@RequestMapping("/v1/sign")
|
||||
@RequestMapping("/v1/signature")
|
||||
public class ExpertSignatureController {
|
||||
|
||||
|
||||
|
@ -171,9 +171,10 @@ public class ExpertSignatureServiceImpl implements ExpertSignatureService {
|
||||
}
|
||||
List<PictureRenderData> pics = new ArrayList<>();
|
||||
signature.getExperts().forEach(l -> {
|
||||
base64ToImage(l.getExpertSign(), imgPath + l.getExpertId());
|
||||
String img = imgPath + l.getExpertId() + ".png";
|
||||
|
||||
pics.add(new PictureRenderData(130, 100, imgPath + l.getExpertId()));
|
||||
base64ToImage(l.getExpertSign().replace("data:image/png;base64,", ""), img);
|
||||
pics.add(new PictureRenderData(130, 100, img));
|
||||
});
|
||||
|
||||
//获取签名模版
|
||||
|
Reference in New Issue
Block a user