Browse Source

终端显示省份信息

guozhaoshun 6 years ago
parent
commit
9e94627c55

+ 1 - 1
rankin-api-web/src/main/java/cn/rankin/apiweb/service/user/UserService.java

@@ -393,7 +393,7 @@ public class UserService
         deviceUserVo.setUid(userVo.getId());
         deviceUserVo.setUid(userVo.getId());
         deviceUserVo.setEid(userVo.getCode());
         deviceUserVo.setEid(userVo.getCode());
         deviceUserVo.setPassword(userVo.getPassword());
         deviceUserVo.setPassword(userVo.getPassword());
-        deviceUserVo.setName(userVo.getProvinceName() + userVo.getZoneName() + userVo.getName());
+        deviceUserVo.setName(userVo.getProvinceName() + userVo.getCityName() + userVo.getZoneName() + userVo.getName());
         deviceUserVo.setDeviceCode(deviceVo.getDeviceCode());
         deviceUserVo.setDeviceCode(deviceVo.getDeviceCode());
         deviceUserVo.setMerchantId(userVo.getMerchantId());
         deviceUserVo.setMerchantId(userVo.getMerchantId());
         deviceUserVo.setMerchantName(userVo.getMerchantName());
         deviceUserVo.setMerchantName(userVo.getMerchantName());