diff --git a/lib/components/dioFun.dart b/lib/components/dioFun.dart index 092a666..4235986 100644 --- a/lib/components/dioFun.dart +++ b/lib/components/dioFun.dart @@ -1871,11 +1871,18 @@ Future getThePageList( map['sblx'] = mapHyshlx[theHyshlx]['sblx']; } + //访问区县后台接口,需要统一添加区县代码参数 + map['qxdm'] = qxdm; + print('mapHyshlx[theHyshlx][api] = ${mapHyshlx[theHyshlx]['api']}'); // mapHyshlx[theHyshlx][api] = http://125.64.218.67:9904/?s=App.Car_Hyc.GetList print('map = ${map}'); response = await dio.post(mapHyshlx[theHyshlx]['api'], data: map); print('response = ${response.toString()}'); + // I/flutter (16869): mapHyshlx[theHyshlx][api] = http://125.64.218.67:9909?s=App.Car_Hyc.GetList + // I/flutter (16869): map = {page: 1, perpage: 100, sign: ff2b4ea7283c2a2dd86ab665c5fe0f0f, random: 763117, workflow: 1} + // I/flutter (16869): response = {"ret":400,"data":{},"msg":"非法请求:缺少必要参数qxdm"} + //I/flutter ( 5232): {"ret":200,"data":{"items":[],"total":0,"page":1,"perpage":10},"msg":""} if (response.statusCode == 200) { //mapGetWzxxGetListRet = await getMapFromJson(response.data);