|
@@ -144,7 +144,9 @@ public class AuthServiceImpl implements AuthService {
|
|
|
AuthFormVo authFormVo = new AuthFormVo();
|
|
|
authFormVo.setAuthId(auth.getId());
|
|
|
BeanUtils.copyProperties(auth, authFormVo);
|
|
|
- authFormVo.setLngAndLat(auth.getLng() + "," + auth.getLat());
|
|
|
+ if (null != auth.getLng()) {
|
|
|
+ authFormVo.setLngAndLat(auth.getLng() + "," + auth.getLat());
|
|
|
+ }
|
|
|
List<String> bannerList = authMapper.getBannerList(authId);
|
|
|
authFormVo.setBannerList(bannerList);
|
|
|
return ResponseJson.success(authFormVo);
|