(ctx: Koa.ParameterizedContext)
| 30 | } |
| 31 | |
| 32 | function tokenError(ctx: Koa.ParameterizedContext) { |
| 33 | ctx.status = 403; |
| 34 | ctx.body = `${$t("TXT_CODE_permission.forbiddenTokenError")}`; |
| 35 | } |
| 36 | |
| 37 | function ajaxError(ctx: Koa.ParameterizedContext) { |
| 38 | ctx.status = 403; |