|
@@ -322,14 +322,14 @@ class UserModel extends BaseModel {
|
|
|
* @return {version}
|
|
* @return {version}
|
|
|
*/
|
|
*/
|
|
|
async getVersionFromUpgrade(ssoId, compilationId){
|
|
async getVersionFromUpgrade(ssoId, compilationId){
|
|
|
- let version = '大司空云计价(免费云版)';
|
|
|
|
|
|
|
+ let version = '大司空云计价';
|
|
|
let userData = await this.findDataBySsoId(ssoId);
|
|
let userData = await this.findDataBySsoId(ssoId);
|
|
|
if (userData.upgrade_list !== undefined) {
|
|
if (userData.upgrade_list !== undefined) {
|
|
|
let compilationInfo = userData.upgrade_list.find(function (item) {
|
|
let compilationInfo = userData.upgrade_list.find(function (item) {
|
|
|
return item.compilationID === compilationId;
|
|
return item.compilationID === compilationId;
|
|
|
});
|
|
});
|
|
|
if (compilationInfo !== undefined && compilationInfo.isUpgrade === true) {
|
|
if (compilationInfo !== undefined && compilationInfo.isUpgrade === true) {
|
|
|
- version = '大司空云计价(专业云版)';
|
|
|
|
|
|
|
+ version = '大司空云计价';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
return version;
|
|
return version;
|