Commit 7297531f authored by David黄金龙's avatar David黄金龙

修改 函数扩展

parent c3820a79
......@@ -14,7 +14,10 @@ class YHPrincleViewModel: YHBaseViewModel {
var waitResultModel = YHPrincipleWaitResultModel()
var envelopModel = YHPrincipleEnvelopeModel()
var uploadDetailModel = YHPrincipleUploadDetailModel()
}
extension YHPrincleViewModel {
func getPrincipleWaitReviewResult(params:[String : Any], callback:((_ success: Bool,_ error:YHErrorModel?)->())?) {
let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.Principle.getProfileList
......@@ -226,9 +229,9 @@ class YHPrincleViewModel: YHBaseViewModel {
// model.date = "2024-12-12"
// return model
// }
//
//
// func getTestModel() -> YHPrincipleWaitResultModel {
//
//
// var files: [YHFileNumberList] = []
// let m = YHFileNumberList()
// m.applicationName = "杜宇"
......@@ -252,7 +255,7 @@ class YHPrincleViewModel: YHBaseViewModel {
//
// let applicant = YHApplicant()
// applicant.userName = "哈哈哈"
//
//
// let model = YHPrincipleWaitResultModel(lastQueryAt: "2024-12-01 23:34:12",
// queryCount: 40,
// fileNumberList: files,
......@@ -261,6 +264,7 @@ class YHPrincleViewModel: YHBaseViewModel {
// applicationFileNumberAttachment: "你要死啊")
// return model
// }
//
//
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment