|
@@ -7,6 +7,7 @@ import (
|
7
|
7
|
"spaceofcheng/services/controllers/coupon"
|
8
|
8
|
"spaceofcheng/services/controllers/course"
|
9
|
9
|
"spaceofcheng/services/controllers/customer"
|
|
10
|
+ "spaceofcheng/services/controllers/customerremark"
|
10
|
11
|
"spaceofcheng/services/controllers/flashbuy"
|
11
|
12
|
"spaceofcheng/services/controllers/goods"
|
12
|
13
|
"spaceofcheng/services/controllers/gymcard"
|
|
@@ -97,5 +98,11 @@ func getWechatRoutes(prefix string) beego.LinkNamespace {
|
97
|
98
|
beego.NSRouter("/flashbuy/:customerId", &flashbuy.FlashBuyController{}, "get:GetCustomerFlashBuyByCustomerId"),
|
98
|
99
|
beego.NSRouter("/flashbuy/:customerFlashBuyId", &flashbuy.FlashBuyController{}, "get:GetCustomerFlashBuyId"),
|
99
|
100
|
beego.NSRouter("/flashbuy/:id", &flashbuy.FlashBuyController{}, "post:FlashBuy"),
|
|
101
|
+
|
|
102
|
+ // 客户备注
|
|
103
|
+ beego.NSRouter("/customerremark/record/:salesId/:customerId", &customerremark.CustomerRemarkController{}, "get:GetCustomerReceiveRecord"),
|
|
104
|
+ beego.NSRouter("/customerremark/:salesId/:customerId", &customerremark.CustomerRemarkController{}, "get:GetCustomerRemarkList"),
|
|
105
|
+ beego.NSRouter("/customerremark/:salesId/:customerInfo", &customerremark.CustomerRemarkController{}, "get:SearchCustomer"),
|
|
106
|
+ beego.NSRouter("/customerremark", &customerremark.CustomerRemarkController{}, "post:AddRemark"),
|
100
|
107
|
)
|
101
|
108
|
}
|