首页UI
This commit is contained in:
@@ -50,7 +50,7 @@ class YMNetworkHelper: NSObject {
|
||||
fail:SessionCallFail?) -> Void {
|
||||
let encrypteChonParma = baseParameters.merging(params) {$1}
|
||||
sessionNetMana.request(host+path, method: type, parameters: encrypteChonParma,encoding: encoding,headers: header)
|
||||
.validate(contentType: ["application/json"])
|
||||
.validate(contentType: ["application/json","text/plain"])
|
||||
.responseJSON { [weak self] (response) in
|
||||
self?.analyzeThe(response1: response, succeed2: succeed, fail3: fail,uuid4:"")
|
||||
}
|
||||
|
Reference in New Issue
Block a user