|
@@ -848,24 +848,11 @@ public class CommonController extends BaseController {
|
|
|
@PreAuthorize("@ss.hasPermi('system:withdrawal:add')")
|
|
|
@PostMapping("/common/free/sevenPushAuthCallBack")
|
|
|
public AjaxResult sevenPushAuthCallBack(@RequestBody SevenPushAuthAddBo bo) {
|
|
|
- String htmlv = "<img src=\"https://file-dev.xyyxt.net/web/Uploads/qdytopic/Imageqdy343-4.png\" />";
|
|
|
- Pattern pattern = Pattern.compile("<img.*?src=\"(.*?)\"");
|
|
|
-
|
|
|
- Matcher matcher = pattern.matcher(htmlv);
|
|
|
- while (matcher.find()) {
|
|
|
- System.out.println("Image URL found: " + matcher.group(1));
|
|
|
- }
|
|
|
- return AjaxResult.success("成功");
|
|
|
-
|
|
|
- /* while (matcher.find()) {
|
|
|
- System.out.println("Image URL found: " + matcher.group(1));
|
|
|
- }
|
|
|
-
|
|
|
ServletUtils.getRequestAttributes().getResponse().setHeader("TenantId", "867735392558919680");
|
|
|
if (!ToolsUtils.checkSignCwSnFromOldSys(bo.getGradeUserId().toString(), bo.getStamp().toString(), bo.getSign())) {
|
|
|
return AjaxResult.error("签名错误");
|
|
|
}
|
|
|
- return AjaxResult.success("成功", iClassGradeUserService.sevenPushAuthCallBack(bo) ? 1 : 0);*/
|
|
|
+ return AjaxResult.success("成功", iClassGradeUserService.sevenPushAuthCallBack(bo) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
|