Authored by 邱骏

修改测试环境调用的接口

... ... @@ -98,6 +98,7 @@ class YoLuckApi extends global.yoho.BaseModel {
*/
getDetail({actPrizeId, uid}) {
return yoLuckApi.get(MODULE + '/content', {actPrizeId, uid}).then(result => {
console.log(result);
if (result.code === 200) {
productTime(result.data);
result.data.countdown = formatCountDown(result.data.end_time);
... ...
... ... @@ -306,7 +306,7 @@ if (isProduction) {
platformApi: 'http://192.168.102.48:8088/',
extstore: 'http://extstore-test1.yohops.com',
yohoNowApi: process.env.YOHO_NOW_API || 'http://yohonow-test.yohops.com:9999/',
yoLuck: process.env.YOLUCK_API || 'http://limit-yoho-activity-platform.test3.ingress.dev.yohocorp.com'
yoLuck: process.env.YOLUCK_API || 'http://yoho-activity-platform.test3.ingress.dev.yohocorp.com'
},
useCache: true,
alipayConfig: {
... ...