Browse Source

Merge branch 'dev' into wr_2023_business

wr_2023_business
wurong 1 year ago
parent
commit
2004ebbaa6
  1. 3
      assets/map_style/chinese_cities.json
  2. 2
      lib/union/union_list.dart

3
assets/map_style/chinese_cities.json

@ -10,5 +10,8 @@
"W": [{ "area": "武汉" }], "W": [{ "area": "武汉" }],
"Z": [ "Z": [
{ "area": "郑州" } { "area": "郑州" }
],
"全部": [
{ "area": "所有门店" }
] ]
} }

2
lib/union/union_list.dart

@ -61,7 +61,7 @@ class _UnionList extends State<UnionList> with AutomaticKeepAliveClientMixin {
); );
} }
BaseData<List<Store>> baseData = await apiService.queryStore({ BaseData<List<Store>> baseData = await apiService.queryStore({
"city": widget.city ?? "", "city": (widget.city ?? "") == "所有门店" ? "" : (widget.city ?? ""),
// "district": district, // "district": district,
// "province": province, // "province": province,
"latitude": (widget.latLng?.latitude ?? "").toString(), "latitude": (widget.latLng?.latitude ?? "").toString(),

Loading…
Cancel
Save