This commit is contained in:
2026-04-22 21:55:40 +03:30
parent 1a3a450960
commit f9e1ad69dc
85 changed files with 15644 additions and 4057 deletions
+6
View File
@@ -11,6 +11,7 @@ export class PosController {
@Get()
async getInfo(@PosInfo('pos_id') pos_id: string, @Res({ passthrough: true }) res) {
console.log('getInfo', pos_id)
const result = await this.service.getInfo(pos_id)
if (result) {
@@ -30,4 +31,9 @@ export class PosController {
async getAccessiblePos(@TokenAccount('account_id') account_id) {
return await this.service.getAccessible(account_id)
}
@Get('/me')
async getMe(@TokenAccount('account_id') account_id, @PosInfo('pos_id') pos_id: string) {
return await this.service.getMe(account_id, pos_id)
}
}