Authored by 邱骏

修改默认头像问题

... ... @@ -481,7 +481,7 @@ class YoLuckService extends global.yoho.BaseModel {
_.forEach(_.get(result, 'data', []), value => {
if (value.prizeCode) {
if (value.userThumb.indexOf('headimg') > 0) {
if (value.userThumb.indexOf('01cae078abe5fe320c88cdf4c220212688') > 0) {
value.userThumb = nearAvatar;
} else {
if (value.userThumb.indexOf('?') > 0) {
... ...
... ... @@ -13,7 +13,8 @@ const isTest = process.env.NODE_ENV === 'test3';
const domains = {
// api: 'http://api.yoho.cn/',
api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// yoLuck: 'https://action.yoho.cn',
... ... @@ -26,7 +27,7 @@ const domains = {
// platformApi: 'http://172.16.6.210:8088/',
api: 'http://api-test3.dev.yohocorp.com/',
// api: 'http://api-test3.dev.yohocorp.com/',
service: 'http://api-test3.dev.yohocorp.com/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test3.dev.yohocorp.com/',
... ...