egg-born-module-a-base-sync
Advanced tools
Comparing version 1.1.14 to 1.2.0
@@ -17,3 +17,6 @@ module.exports = app => { | ||
// logined | ||
this.ctx.success(this.ctx.user); | ||
this.ctx.success({ | ||
user: this.ctx.user, | ||
instance: this.ctx.instance, | ||
}); | ||
} catch (e) { | ||
@@ -26,3 +29,6 @@ // deleted,disabled | ||
async check() { | ||
this.ctx.success(this.ctx.user); | ||
this.ctx.success({ | ||
user: this.ctx.user, | ||
instance: this.ctx.instance, | ||
}); | ||
} | ||
@@ -33,3 +39,6 @@ | ||
await this.ctx.meta.user.loginAsAnonymous(); | ||
this.ctx.success(this.ctx.user); | ||
this.ctx.success({ | ||
user: this.ctx.user, | ||
instance: this.ctx.instance, | ||
}); | ||
} | ||
@@ -36,0 +45,0 @@ |
{ | ||
"name": "egg-born-module-a-base-sync", | ||
"version": "1.1.14", | ||
"version": "1.2.0", | ||
"title": "Base", | ||
@@ -5,0 +5,0 @@ "eggBornModule": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
965985
14181