Commit 470b7018b5b17e0a7f512114aaff3a4f7bab4f3c
1 parent
e6035b0d3f
Exists in
master
提交代码
Showing 3 changed files with 7 additions and 2 deletions
webApi/src/main/java/com/lyms/yimiao/web/controller/v1/KidsController.java
View file @
470b701
webApi/src/main/java/com/lyms/yimiao/web/controller/v1/OrganizationsController.java
View file @
470b701
| 1 | 1 | package com.lyms.yimiao.web.controller.v1; | 
| 2 | 2 | |
| 3 | 3 | import com.lymsh.mommybaby.basecommon.base.BaseController; | 
| 4 | +import com.lymsh.mommybaby.basecommon.constant.ConstantInterface; | |
| 4 | 5 | import com.lymsh.mommybaby.basecommon.util.ResultUtils; | 
| 5 | 6 | import com.lymsh.yimiao.main.data.model.MedOrganization; | 
| 6 | 7 | import com.lymsh.yimiao.main.data.service.MedAreaService; | 
| ... | ... | @@ -79,7 +80,8 @@ | 
| 79 | 80 | }else { | 
| 80 | 81 | map.put("address",null); | 
| 81 | 82 | } | 
| 82 | - | |
| 83 | + map.put("errorcode", ConstantInterface.SUCCESS); | |
| 84 | + map.put("errormsg", "成功"); | |
| 83 | 85 | writeJson(response, JsonUtil.obj2JsonString(map)); | 
| 84 | 86 | |
| 85 | 87 | } | 
webApi/src/main/resources/config.properties
View file @
470b701
| ... | ... | @@ -35,7 +35,8 @@ | 
| 35 | 35 | mailServerUsername=411441657@qq.com | 
| 36 | 36 | mailServerPassword=yt12304 | 
| 37 | 37 | |
| 38 | -redis.servers=192.168.5.250:6379:mommybaby123 | |
| 38 | +#redis.servers=192.168.5.250:6379:mommybaby123 | |
| 39 | +redis.servers=192.168.1.43:6379:Lyms@2016 | |
| 39 | 40 | ams.login.msg=验证码{0},您正在登录AMS,若非本人操作,请勿泄露。 | 
| 40 | 41 | token.prefix=ams | 
| 41 | 42 |