Quellcode durchsuchen

修复typer返回结果检测

lqc vor 4 Jahren
Ursprung
Commit
5223d3e11c

+ 1 - 1
src/main/java/com/mokamrp/privates/controller/pangu/FosterwxMobilePoolController.java

@@ -154,7 +154,7 @@ public class FosterwxMobilePoolController extends BaseController<FosterwxMobileP
         JSONObject result = restTemplate.exchange(domain + "/poster/qrcode", HttpMethod.POST, httpEntity, JSONObject.class).getBody();
 
         if (null != result) {
-            if ("200".equals(result.get("code"))) {
+            if ("200".equals(result.get("code").toString())) {
                 return AjaxResult.success(result.get("data").toString());
             } else {
                 return AjaxResult.error(result.get("data").toString());