Browse Source

登录地址去掉省

wyyay 2 years ago
parent
commit
dadd565465

+ 1 - 1
base-common/src/main/java/com/ozs/common/utils/ip/AddressUtils.java

@@ -44,7 +44,7 @@ public class AddressUtils
                 JSONObject obj = JSON.parseObject(rspStr);
                 //String region = obj.getString("pro");
                 String city = obj.getString("city");
-                return String.format("%s %s", city);
+                return String.format("%s",  city);
             }
             catch (Exception e)
             {