完善供应商和客户功能

This commit is contained in:
2025-11-25 17:35:33 +08:00
parent aae2fe1e14
commit 7e4ac8fe67
20 changed files with 1524 additions and 485 deletions
+2
View File
@@ -335,6 +335,7 @@ func init() {
beego.Router("/api/crm/customer/add", &controllers.CustomerController{}, "post:Add")
beego.Router("/api/crm/customer/edit", &controllers.CustomerController{}, "post:Edit")
beego.Router("/api/crm/customer/delete", &controllers.CustomerController{}, "post:Delete")
beego.Router("/api/crm/customer/update-invoice", &controllers.CustomerController{}, "post:UpdateInvoice")
// CRM 供应商路由
beego.Router("/api/crm/supplier/list", &controllers.SupplierController{}, "get:List")
@@ -342,6 +343,7 @@ func init() {
beego.Router("/api/crm/supplier/add", &controllers.SupplierController{}, "post:Add")
beego.Router("/api/crm/supplier/edit", &controllers.SupplierController{}, "post:Edit")
beego.Router("/api/crm/supplier/delete", &controllers.SupplierController{}, "post:Delete")
beego.Router("/api/crm/supplier/update-invoice", &controllers.SupplierController{}, "post:UpdateInvoice")
// CRM 联系人路由
beego.Router("/api/crm/contact/list", &controllers.ContactController{}, "get:List")