Commit 780c53f0 by v_vjyjiang

d

parent 7bda6240
......@@ -8,14 +8,14 @@ class CompanyService extends ServiceBase {
async getMyApps (appids, isSuper) {
let appsrtn = null
if (isSuper) {
appsrtn = this.db.models.app.findAll({
appsrtn = await this.db.models.app.findAll({
where:
{
id: { [this.db.Op.ne]: settings.pmappid }
}
})
} else {
appsrtn = this.db.models.app.findAll({
appsrtn = await this.db.models.app.findAll({
where:
{
id: { [this.db.Op.in]: appids }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment