无故事王国
2023-11-01 b3269976c84d03208f633cd0136a6f78e8dd53f7
WanPai/Network/Services.swift
@@ -1065,13 +1065,14 @@
    }
        /// 编辑参赛人员信息
    class func editParticipant(id:Int,height:Int,weight:Int,phone:String?)->Observable<BaseResponse<SimpleModel>>{
   class func editParticipant(id:Int,height:Int,weight:Int,phone:String?,isStudent:Int)->Observable<BaseResponse<SimpleModel>>{
        let params = ParamsAppender.build(url: All_Url)
            .interface(url: "competition/api/participant/editParticipant")
         .append(key: "id", value: id)
         .append(key: "height", value: height)
         .append(key: "weight", value: weight)
         .append(key: "phone", value: phone)
         .append(key: "isStudent", value: isStudent)
        return NetworkRequest.request(params: params, method: .post, progress: true)
    }