取消GetStores,GetStoreVendorMaps的token要求

This commit is contained in:
gazebo
2020-02-21 11:13:24 +08:00
parent a8382e99a6
commit 6db018debb
4 changed files with 4 additions and 3 deletions

BIN
111.xlsx

Binary file not shown.

View File

@@ -16,7 +16,7 @@ type StoreController struct {
// @Title 得到京西门店信息 // @Title 得到京西门店信息
// @Description 得到京西门店信息,如下条件之间是与的关系 // @Description 得到京西门店信息,如下条件之间是与的关系
// @Param token header string true "认证token" // @Param token header string false "认证token"
// @Param keyword query string false "查询关键字(可以为空,为空表示不限制)" // @Param keyword query string false "查询关键字(可以为空,为空表示不限制)"
// @Param storeID query int false "门店ID" // @Param storeID query int false "门店ID"
// @Param startStoreID query int false "起始门店ID" // @Param startStoreID query int false "起始门店ID"
@@ -137,7 +137,7 @@ func (c *StoreController) CreateStore() {
// @Title 得到门店映射信息 // @Title 得到门店映射信息
// @Description 得到门店映射信息 // @Description 得到门店映射信息
// @Param token header string true "认证token" // @Param token header string false "认证token"
// @Param storeID query int true "门店ID" // @Param storeID query int true "门店ID"
// @Param vendorID query int false "厂商ID缺省为全部" // @Param vendorID query int false "厂商ID缺省为全部"
// @Success 200 {object} controllers.CallResult // @Success 200 {object} controllers.CallResult

View File

@@ -46,6 +46,7 @@ func (c *DadaDeliveryController) Notify() {
c.Data["json"] = notifyResponse c.Data["json"] = notifyResponse
c.ServeJSON() c.ServeJSON()
} }
globals.SugarLogger.Debugf("DadaDeliveryController.Notify:%s", utils.Format4Output(notifyResponse, false))
} else { } else {
c.Abort("404") c.Abort("404")
} }

View File

@@ -71,7 +71,7 @@ func init() {
} }
func Init() { func Init() {
if !IsProductEnv() { if false { //!IsProductEnv() {
OutputDebugMsgLevel = 1 OutputDebugMsgLevel = 1
} }