| | |
| | | .interface(url: "/activity/huimin/getContentForStudent") |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | |
| | | class func getStudentListByCarId(id:Int)->Observable<BaseResponse<[HuiminCardItemStuModel]>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/activity/huimin/getStudentListByCarId") |
| | | .append(key: "id", value: id) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | |
| | | class func getQRCodeByStuId(cardId:Int,studentId:Int)->Observable<BaseResponse<HuiminCardStuModel>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/activity/huimin/getQrCodeByStudentId") |
| | | .append(key: "cardId", value: cardId) |
| | | .append(key: "studentId", value: studentId) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | } |
| | | |
| | | extension Services{ |