- combile SearchStores and GetStores to one func.

This commit is contained in:
gazebo
2018-09-05 10:24:30 +08:00
parent b6a8f22612
commit 26f5c26def
3 changed files with 18 additions and 68 deletions

View File

@@ -159,14 +159,6 @@ func init() {
MethodParams: param.Make(),
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"],
beego.ControllerComments{
Method: "SearchStores",
Router: `/SearchStores`,
AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(),
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:StoreController"],
beego.ControllerComments{
Method: "UpdatePlaces",