Authored by 郭成尧

cache

... ... @@ -201,6 +201,9 @@ class DetailModel extends global.yoho.BaseModel {
method: 'app.resources.getSingleTemplate',
module: 'wechat',
key: 'guang_detail_wechat'
},
param: {
cache: true
}
});
}
... ... @@ -455,6 +458,9 @@ class DetailModel extends global.yoho.BaseModel {
page: 1,
limit: 1,
udid: params.udid
},
param: {
cache: true
}
}).then(result => {
return _.get(result, 'data.total', 0);
... ... @@ -473,6 +479,9 @@ class DetailModel extends global.yoho.BaseModel {
uid: params.uid,
id: params.id,
udid: params.udid
},
param: {
cache: true
}
}).then(result => {
return _.get(result, 'data', {});
... ...
... ... @@ -167,6 +167,8 @@ class DetailModel extends global.yoho.BaseModel {
method: 'app.resources.getSingleTemplate',
module: 'wechat',
key: 'guang_detail_wechat'
}, {
cache: true
});
}
... ...