登录日志:2020-11-14 15:58:01,485 [http-nio-8081-exec-108] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/getToken : T_accountModule.getToken(T_accountModule.java:43)
2020-11-14 15:58:01,485 [http-nio-8081-exec-108] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/getToken : T_accountModule.getToken(T_accountModule.java:43)
2020-11-14 15:58:01,485 [http-nio-8081-exec-108] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:58:01,485 [http-nio-8081-exec-108] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:58:01,485 [http-nio-8081-exec-108] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:58:01,485 [http-nio-8081-exec-108] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:58:16,476 [http-nio-8081-exec-109] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/login : T_accountModule.login(T_accountModule.java:26)
2020-11-14 15:58:16,476 [http-nio-8081-exec-109] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/login : T_accountModule.login(T_accountModule.java:26)
2020-11-14 15:58:16,476 [http-nio-8081-exec-109] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:58:16,476 [http-nio-8081-exec-109] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:58:16,476 [http-nio-8081-exec-109] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:58:16,476 [http-nio-8081-exec-109] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:58:16,486 [http-nio-8081-exec-110] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [POST] path=/account/login : T_accountModule.login(T_accountModule.java:26)
2020-11-14 15:58:16,486 [http-nio-8081-exec-110] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [POST] path=/account/login : T_accountModule.login(T_accountModule.java:26)
2020-11-14 15:58:16,487 [http-nio-8081-exec-110] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:58:16,487 [http-nio-8081-exec-110] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:58:16,596 [http-nio-8081-exec-110] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT a.*,p.*,s.* FROM t_account AS a JOIN t_people AS p ON a.peopleid = p.id JOIN t_status AS s ON p.statusid = s.statusid WHERE a.del = '0'AND p.del = '0' AND (a.accounts = ? OR p.phone = ? OR p.phoneTwo = ? ) AND a.password = ?
| 1 | 2 | 3 | 4 |
|-------------|-------------|-------------|----------------------------------|
| 13655484441 | 13655484441 | 13655484441 | D9840773233FA6B19FDE8CAF765402F5 |
For example:> "SELECT a.*,p.*,s.* FROM t_account AS a JOIN t_people AS p ON a.peopleid = p.id JOIN t_status AS s ON p.statusid = s.statusid WHERE a.del = '0'AND p.del = '0' AND (a.accounts = '13655484441' OR p.phone = '13655484441' OR p.phoneTwo = '13655484441' ) AND a.password = 'D9840773233FA6B19FDE8CAF765402F5'"
登录之后调用别的接口 测试 都再 一个module日志
2020-11-14 15:42:43,763 [http-nio-8081-exec-99] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2020-11-14 15:42:43,763 [http-nio-8081-exec-99] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2020-11-14 15:42:43,763 [http-nio-8081-exec-99] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [*] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:42:43,763 [http-nio-8081-exec-99] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [*] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:43:03,322 [http-nio-8081-exec-100] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/getToken : T_accountModule.getToken(T_accountModule.java:43)
2020-11-14 15:43:03,322 [http-nio-8081-exec-100] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/getToken : T_accountModule.getToken(T_accountModule.java:43)
2020-11-14 15:43:03,323 [http-nio-8081-exec-100] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:43:03,323 [http-nio-8081-exec-100] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:43:03,323 [http-nio-8081-exec-100] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [*] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:43:03,323 [http-nio-8081-exec-100] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [*] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:46:51,630 [http-nio-8081-exec-106] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/getToken : T_accountModule.getToken(T_accountModule.java:43)
2020-11-14 15:46:51,630 [http-nio-8081-exec-106] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [OPTIONS] path=/account/getToken : T_accountModule.getToken(T_accountModule.java:43)
2020-11-14 15:46:51,630 [http-nio-8081-exec-106] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:46:51,630 [http-nio-8081-exec-106] DEBUG org.nutz.ioc.impl.NutIoc - Get 't_accountModule'<class cn.webro.module.T_accountModule>
2020-11-14 15:46:51,630 [http-nio-8081-exec-106] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [*] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]
2020-11-14 15:46:51,630 [http-nio-8081-exec-106] DEBUG org.nutz.mvc.filter.CrossOriginFilter - Feedback -- [*] [GET, POST, PUT, DELETE, OPTIONS, PATCH] [Origin, Content-Type, Accept, X-Requested-With] [true]