layui或者其他语言接口传入相同名称参数的不同参数内容可用此方法:
//接口传入相同名称的参数可用此方法
var Bus = "1,3" //需要传入的参数 (参数为BusType=1 和 BusType=3)
url: settings.ServerUrl + '/api/c_paper/GetListByPage', //接口url
where: { //会接口传入的参数
System_Station_ID: SaasID,
BusType: Bus //接口传入相同名称的参数可用此方法
},
-----------------------------------------------------------------------------------------
//接口也可这样写
url: settings.ServerUrl + '/api/c_paper/GetListByPage?BusType =' + "Bus", //接口url