Authored by htoooth

add redenvelope api

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