From 9d69e2fafd76543db6a72d5bbfdd9918af2489cb Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Fri, 17 Dec 2021 15:19:19 +0800 Subject: [PATCH] =?UTF-8?q?hyzp=5Fybqx-Commit032=EF=BC=9A=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E8=83=BD=E5=A4=9F=E8=8E=B7=E5=8F=96=E5=8C=BA=E5=8E=BF?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E3=80=82=E8=AE=BF=E9=97=AE=E5=8C=BA=E5=8E=BF?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E6=8E=A5=E5=8F=A3=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=B7=BB=E5=8A=A0=E5=8C=BA=E5=8E=BF=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=8F=82=E6=95=B0=20map['qxdm']=20=3D=20qxdm;?= =?UTF-8?q?=EF=BC=8C=E5=90=A6=E5=88=99=E4=BC=9A=E6=8A=A5=E9=94=99=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit // 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"} --- lib/components/dioFun.dart | 7 +++++++ 1 file changed, 7 insertions(+) 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);