fix: missing v1 prefix

This commit is contained in:
Methapon2001 2024-06-11 13:35:54 +07:00
parent 2c6586d9ee
commit 784c245557
3 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ type ProductGroupUpdate = {
remark?: string;
};
@Route("api/product-group")
@Route("api/v1/product-group")
@Tags("Product Group")
@Security("keycloak")
export class ProductGroup extends Controller {

View file

@ -33,7 +33,7 @@ type ProductTypeUpdate = {
remark?: string;
};
@Route("api/product-type")
@Route("api/v1/product-type")
@Tags("Product Type")
@Security("keycloak")
export class ProductType extends Controller {

View file

@ -42,7 +42,7 @@ function imageLocation(id: string) {
return `service/img-${id}`;
}
@Route("api/service")
@Route("api/v1/service")
@Tags("Service")
@Security("keycloak")
export class ServiceController extends Controller {