|
|
import api from '../../common/api';
|
|
|
|
|
|
import config from '../../common/config';
|
|
|
import Yas from '../../common/yas';
|
|
|
|
|
|
export default {
|
|
|
/**
|
...
|
...
|
@@ -130,7 +131,13 @@ export default { |
|
|
}).then(result => {
|
|
|
if (result.code === 200) {
|
|
|
if (result.data) {
|
|
|
return JSON.parse(result.data);
|
|
|
let resultJson = JSON.parse(result.data);
|
|
|
if(resultJson){
|
|
|
let app = getApp();
|
|
|
let yas = new Yas(app);
|
|
|
yas.report('YB_SHARE_UNION_TYPE', resultJson);
|
|
|
}
|
|
|
return resultJson;
|
|
|
}
|
|
|
}
|
|
|
}).catch(e => {
|
...
|
...
|
|