|
@@ -11,6 +11,7 @@ import (
|
11
|
11
|
"spaceofcheng/services/controllers/customer"
|
12
|
12
|
"spaceofcheng/services/controllers/goods"
|
13
|
13
|
"spaceofcheng/services/controllers/gymcard"
|
|
14
|
+ "spaceofcheng/services/controllers/luckdrawlist"
|
14
|
15
|
"spaceofcheng/services/controllers/marketing"
|
15
|
16
|
"spaceofcheng/services/controllers/message"
|
16
|
17
|
"spaceofcheng/services/controllers/statistics"
|
|
@@ -186,11 +187,11 @@ func getCommonRoutes() beego.LinkNamespace {
|
186
|
187
|
beego.NSRouter("/gymcard/:gymcardId/:customerId", &gymcard.GymcardController{}, "post:VerifyCustomerGymcard"),
|
187
|
188
|
beego.NSRouter("/gymcard/:id/to/:users", &gymcard.GymcardController{}, "post:GiveGymToCustomer"),
|
188
|
189
|
|
189
|
|
- // luckdrawlist 抽奖
|
190
|
|
- // beego.NSRouter("luckdrawlist", &luckdrawlist.LuckdrawlistController{}, "get:GetLuckdrawList"),
|
191
|
|
- // beego.NSRouter("luckdrawlist/:toPhone/:fromPhone", &luckdrawlist.LuckdrawlistController{}, "get:GetLuckShareList"),
|
192
|
|
- // beego.NSRouter("luckdrawlist/:luckdrawId", &luckdrawlist.LuckdrawlistController{}, "get:GetVerifyList"),
|
193
|
|
- // beego.NSRouter("luckdrawlist/:luckdrawId", &luckdrawlist.LuckdrawlistController{}, "put:VerifyLuckdraw"),
|
|
190
|
+ //luckdrawlist 抽奖
|
|
191
|
+ beego.NSRouter("luckdrawlist", &luckdrawlist.LuckdrawlistController{}, "get:GetLuckdrawList"),
|
|
192
|
+ beego.NSRouter("luckdrawlist/share", &luckdrawlist.LuckdrawlistController{}, "get:GetLuckShareList"),
|
|
193
|
+ beego.NSRouter("luckdrawlist/:luckdrawId", &luckdrawlist.LuckdrawlistController{}, "get:GetVerifyList"),
|
|
194
|
+ beego.NSRouter("luckdrawlist/:luckdrawId", &luckdrawlist.LuckdrawlistController{}, "put:VerifyLuckdraw"),
|
194
|
195
|
|
195
|
196
|
// bodychecklist 体检列表
|
196
|
197
|
beego.NSRouter("bodychecklist", &bodychecklist.BodychecklistController{}, "get:GetBodyCheckList"),
|