use this.ctx.controller to implement rest getResource, this.modelInstance.pk is not promise anymore
use this.ctx.controller to implement rest getResource, this.modelInstance.pk is not promise anymore

thinkjs/think-cli