|
@@ -237,7 +237,7 @@ module.exports = app => {
|
|
|
}
|
|
|
async _getNeedGcl() {
|
|
|
if (!this.ctx.params.btype) throw '参数错误';
|
|
|
- const funRela = this.ctx.service.project.getFunRela(this.ctx.session.sessionProject.id);
|
|
|
+ const funRela = await this.ctx.service.project.getFunRela(this.ctx.session.sessionProject.id);
|
|
|
return this.ctx.params.btype === 'yu' && !!funRela.needGcl;
|
|
|
}
|
|
|
|