feat(ux-fix): resolve wiki fallback 404, responsive B2B modal, clean badges, aligned bullets, mobile bottom nav on PDP and admin Rx/symptoms management
Deploy Canina / deploy (push) Failing after 1m14s
Deploy Canina / deploy (push) Failing after 1m14s
This commit is contained in:
1 parent
52446592e7
commit
468170349d
8 files changed
+168
-54
No files matched your search
@@ -354,4 +354,19 @@ export class AdminController {
|
||||
await this.settingsService.updateBulkUiTexts(body);
|
||||
return { success: true, data: body };
|
||||
}
|
||||
|
||||
@Get("symptoms")
|
||||
@ApiOperation({ summary: "لیست کامل علائم درمانی به همراه تعداد محصولات متصل" })
|
||||
async getAllSymptoms() {
|
||||
const data = await this.adminService.getAllSymptoms();
|
||||
return { success: true, data };
|
||||
}
|
||||
|
||||
@Put("symptoms/rename")
|
||||
@ApiOperation({ summary: "تغییر نام یکپارچه یک علامت در سراسر محصولات و دیتابیس" })
|
||||
async renameSymptom(@Body() body: { oldName: string; newName: string }) {
|
||||
const result = await this.adminService.renameSymptom(body.oldName, body.newName);
|
||||
return { success: true, ...result };
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user