แก้ไข route
This commit is contained in:
parent
a290f4692e
commit
bbc700478c
2 changed files with 17 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ import HttpError from "../interfaces/http-error";
|
||||||
import HttpStatusCode from "../interfaces/http-status";
|
import HttpStatusCode from "../interfaces/http-status";
|
||||||
import { OrgRevision } from "../entities/OrgRevision";
|
import { OrgRevision } from "../entities/OrgRevision";
|
||||||
|
|
||||||
@Route("api/v1/organization")
|
@Route("api/v1/org")
|
||||||
@Tags("OrgRoot")
|
@Tags("OrgRoot")
|
||||||
@Security("bearerAuth")
|
@Security("bearerAuth")
|
||||||
export class OrgRootController extends Controller {
|
export class OrgRootController extends Controller {
|
||||||
|
|
|
||||||
|
|
@ -113,4 +113,20 @@ export class OrganizationController extends Controller {
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* API รายละเอียดโครงสร้าง
|
||||||
|
*
|
||||||
|
* @summary ORG_023 - รายละเอียดโครงสร้าง (ADMIN) #25
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
// @Get()
|
||||||
|
// async detail(@Path() id: string) {
|
||||||
|
// try {
|
||||||
|
|
||||||
|
// return new HttpSuccess();
|
||||||
|
// } catch (error) {
|
||||||
|
// return error;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue