cmspageInte({"startday":'',"agentid":"${user.user_id}","curpage":"1"},url);
function cmspageInte(cmsdata,url){
$.ajax({
url : url, // 请求URL
data:cmsdata,
type : "post", // 请求方式
dataType : "json", // 服务器响应回来的数据类型json: {}、[]、[{},{}]
contentType: "application/json",
async : true,
@Filters(@By(type=CrossOriginFilter.class))
@At("/selectMemberLog")
@Ok("json")
@POST
@AdaptBy(type=JsonAdaptor.class)
public Map<String,Object> selectMemberLog(HttpServletRequest request,@Param("curpage") Integer curpage,@Param("agentid") String agentid, @Param("startday") String startday){
[DEBUG] 2017-11-01 11:56:41,028 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [POST] path=/aoyiAdmin/selectMemberLog : AdminController.selectMemberLog(AdminController.java:157)
[DEBUG] 2017-11-01 11:56:41,028 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'adminController'<class com.aoyi.rs.account.modules.controllers.api.AdminController>
[WARN ] 2017-11-01 11:56:41,028 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/aoyiAdmin/selectMemberLog :
org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 's'], reason: 'Unexpect String = startday=&agentid=51cdbb29-ae2c-40c7-80e0-4d834601f834&curpage=1'
at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:300)
at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:356)
at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
at org.nutz.json.Json.fromJson(Json.java:42)
at org.nutz.mvc.adaptor.JsonAdaptor.getReferObject(JsonAdaptor.java:41)
at org.nutz.mvc.adaptor.AbstractAdaptor.adapt(AbstractAdaptor.java:224)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:28)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)