|
@@ -82,9 +82,7 @@ class SwiftMoyaNetWorkServiceOrder: NSObject {
|
|
|
func orderPurchaseOrderListApi(page:Int = 1,status:Int = -1,completion: @escaping apiCallBack) {
|
|
|
var parameters = Dictionary<String,Any>()
|
|
|
|
|
|
- if status == -1 {
|
|
|
- parameters.updateValue("", forKey: "search_status")
|
|
|
- }else {
|
|
|
+ if status != -1 {
|
|
|
parameters.updateValue(status, forKey: "search_status")
|
|
|
}
|
|
|
parameters.updateValue(page, forKey: "page")
|