Authored by htoooth

add redenvelope api

@@ -204,9 +204,9 @@ class featureModel extends global.yoho.BaseModel { @@ -204,9 +204,9 @@ class featureModel extends global.yoho.BaseModel {
204 */ 204 */
205 getRedEnvelope(uid, token) { 205 getRedEnvelope(uid, token) {
206 let data = { 206 let data = {
207 - method: 'app.coupons.couponsSend', 207 + method: 'app.redpac.addRedpac',
208 uid: uid, 208 uid: uid,
209 - coupon_send_token: token 209 + redpacToken: token
210 }; 210 };
211 211
212 return this.get({data}).then(result => { 212 return this.get({data}).then(result => {