| | |
| | | } |
| | | |
| | | /// 编辑参赛人员信息 |
| | | 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) |
| | | } |
| | | |