无故事王国
2023-11-01 cb119c1aa79c5c5477f876660bee7ca0cb856ace
WanPai/Network/Services.swift
@@ -220,6 +220,15 @@
         .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: -- 首页部分