|
@@ -95,15 +95,16 @@ func getWechatRoutes(prefix string) beego.LinkNamespace {
|
95
|
95
|
beego.NSRouter("/user/luckdraw/record/:id", &luckdraw.LuckDrawController{}, "get:GetRecordByID"),
|
96
|
96
|
|
97
|
97
|
// 抢购
|
98
|
|
- beego.NSRouter("/flashbuy/:flashBuyId", &flashbuy.FlashBuyController{}, "get:GetFlashBuyById"),
|
99
|
|
- beego.NSRouter("/flashbuy/:customerId", &flashbuy.FlashBuyController{}, "get:GetCustomerFlashBuyByCustomerId"),
|
100
|
|
- beego.NSRouter("/flashbuy/:customerFlashBuyId", &flashbuy.FlashBuyController{}, "get:GetCustomerFlashBuyId"),
|
|
98
|
+ beego.NSRouter("/flashbuy/flash/:flashBuyId", &flashbuy.FlashBuyController{}, "get:GetFlashBuyById"),
|
|
99
|
+ beego.NSRouter("/flashbuy/customer/:customerId", &flashbuy.FlashBuyController{}, "get:GetCustomerFlashBuyByCustomerId"),
|
|
100
|
+ beego.NSRouter("/flashbuy/customerFlash/:customerFlashBuyId", &flashbuy.FlashBuyController{}, "get:GetCustomerFlashBuyId"),
|
101
|
101
|
beego.NSRouter("/flashbuy/:id", &flashbuy.FlashBuyController{}, "post:FlashBuy"),
|
102
|
102
|
|
103
|
103
|
// 客户备注
|
104
|
104
|
beego.NSRouter("/customerremark/record/:salesId/:customerId", &customerremark.CustomerRemarkController{}, "get:GetCustomerReceiveRecord"),
|
105
|
105
|
beego.NSRouter("/customerremark/:salesId/:customerId", &customerremark.CustomerRemarkController{}, "get:GetCustomerRemarkList"),
|
106
|
|
- beego.NSRouter("/customerremark/:salesId/:customerInfo", &customerremark.CustomerRemarkController{}, "get:SearchCustomer"),
|
|
106
|
+ beego.NSRouter("/customerremark/search/:salesId/:customerInfo", &customerremark.CustomerRemarkController{}, "get:SearchCustomer"),
|
107
|
107
|
beego.NSRouter("/customerremark", &customerremark.CustomerRemarkController{}, "post:AddRemark"),
|
|
108
|
+ beego.NSRouter("/customerremark/exist/:recommendCode", &customerremark.CustomerRemarkController{}, "get:IsExist"),
|
108
|
109
|
)
|
109
|
110
|
}
|