| | |
| | | .append(key: "stuId", value: studentId) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | |
| | | /// 成为会员获取优惠券 |
| | | /// - Parameter menthod: 1=积分购买,2=注册赠送 |
| | | static func queryMemberCoupon(menthod:Int)->Observable<BaseResponse<[CouponInfoModel]>>{ |
| | | let params = ParamsAppender.build(url: All_Url) |
| | | .interface(url: "/activity/api/coupon/queryCouponList") |
| | | .append(key: "distributionMethod", value: menthod) |
| | | return NetworkRequest.request(params: params, method: .post, progress: true) |
| | | } |
| | | } |
| | | |
| | | // MARK: -- 首页部分 |