From e86e19e5e5909f46e09adec1df430e0214a81590 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期三, 18 十月 2023 18:34:19 +0800 Subject: [PATCH] 修复BUG --- WanPai/Root/Other/View/StoresChooseView.swift | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WanPai/Root/Other/View/StoresChooseView.swift b/WanPai/Root/Other/View/StoresChooseView.swift index 9c651bf..909cdde 100644 --- a/WanPai/Root/Other/View/StoresChooseView.swift +++ b/WanPai/Root/Other/View/StoresChooseView.swift @@ -51,7 +51,7 @@ } } - private func getData(_ provinceId:String? = nil){ + private func getData(_ provinceId:Int? = nil){ Services.queryProvinceAndCity(pcode: provinceId).subscribe(onNext: { [weak self] data in guard let weakSelf = self else { return } if provinceId == nil{ @@ -62,7 +62,7 @@ }).disposed(by: disposeBag) } - private func getStore(_ cityCode:String){ + private func getStore(_ cityCode:Int){ Services.queryStoreAtCity(cityCode: cityCode).subscribe(onNext: { [weak self] data in guard let weakSelf = self else { return } weakSelf.storesModel = data.data ?? [] -- Gitblit v1.7.1