...
|
...
|
@@ -228,7 +228,7 @@ class ActWheelSurfModel extends global.yoho.BaseModel { |
|
|
} else if (getPrize.type === 2) {
|
|
|
|
|
|
try {
|
|
|
// 调用java接口
|
|
|
// 调用java接口
|
|
|
sendResult = await this.get({
|
|
|
data: {
|
|
|
method: 'app.redpac.addRedpac',
|
...
|
...
|
@@ -261,9 +261,11 @@ class ActWheelSurfModel extends global.yoho.BaseModel { |
|
|
} else if (getPrize.type === 3) {
|
|
|
try {
|
|
|
sendResult = await this.get({
|
|
|
method: 'app.coupons.couponsSend',
|
|
|
uid: uid,
|
|
|
coupon_send_token: getPrize.value
|
|
|
data: {
|
|
|
method: 'app.coupons.couponsSend',
|
|
|
uid: uid,
|
|
|
coupon_send_token: getPrize.value
|
|
|
}
|
|
|
});
|
|
|
|
|
|
if (sendResult && sendResult.data) {
|
...
|
...
|
|