...
|
...
|
@@ -372,7 +372,7 @@ class YoLuckService extends global.yoho.BaseModel { |
|
|
|
|
|
async getResourceCode(params) {
|
|
|
const result = await this.api._getResourceCode(params);
|
|
|
const url = _.get(result, '[0].data.list[0]', '');
|
|
|
const url = _.get(result, '[0].data.list[0]', {});
|
|
|
|
|
|
url.width = _.get(result, '[0].data.imageWidth', 0);
|
|
|
url.height = _.get(result, '[0].data.imageHeight', 0);
|
...
|
...
|
|