Browse Source

Merge branch 'test' of git@git.coding.net:aft/AFT.git into test

wanghui 8 years ago
parent
commit
17cd798c83

+ 3 - 0
src/main/java/com/goafanti/admin/service/impl/NewAdminServiceImpl.java

@@ -296,6 +296,9 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
 	@Override
 	public int deleteById(String id) {
 		adminMapper.deleteById(id);
+		if(id!="1"){
+			userRoleMapper.deleteByUserId(id);
+		}		
 		return 1;
 	}
 

+ 1 - 1
src/main/java/com/goafanti/app/controller/AppServiceController.java

@@ -16,7 +16,7 @@ import com.goafanti.user.service.UserIdentityService;
 
 
 @RestController
-@RequestMapping(path = "/open/app/service", method = RequestMethod.GET)
+@RequestMapping(path = "/app/service", method = RequestMethod.GET)
 public class AppServiceController extends BaseApiController {
 	@Resource
 	private BusinessVarietiesService	adminVarietiesService;