Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev

This commit was merged in pull request #89.
This commit is contained in:
2023-10-13 15:13:56 +08:00
committed by Gitea
2 changed files with 3 additions and 3 deletions
@@ -237,7 +237,7 @@ public class CaseApplicationController extends BaseController {
* 获取UrlScheme
*/
@Anonymous
@PostMapping("/getUrlScheme")
@GetMapping("/getUrlScheme")
public AjaxResult getUrlScheme() {
String schemeUrl = WxAppletNotifyUtils.jumpAppletSchemeUrl();
return success(schemeUrl);
@@ -43,8 +43,8 @@ public class WxAppletNotifyUtils {
body.putOpt("expire_interval",30);
String post = HttpUtil.post(url,body.toJSONString(2));
JSONObject result = JSONUtil.parseObj(post);
if(result!=null){
result.getStr("openlink");
if(result!=null && result.containsKey("openlink")){
return result.getStr("openlink");
}
return null;
}