取消GetStores,GetStoreVendorMaps的token要求
This commit is contained in:
@@ -16,7 +16,7 @@ type StoreController struct {
|
||||
|
||||
// @Title 得到京西门店信息
|
||||
// @Description 得到京西门店信息,如下条件之间是与的关系
|
||||
// @Param token header string true "认证token"
|
||||
// @Param token header string false "认证token"
|
||||
// @Param keyword query string false "查询关键字(可以为空,为空表示不限制)"
|
||||
// @Param storeID query int false "门店ID"
|
||||
// @Param startStoreID query int false "起始门店ID"
|
||||
@@ -137,7 +137,7 @@ func (c *StoreController) CreateStore() {
|
||||
|
||||
// @Title 得到门店映射信息
|
||||
// @Description 得到门店映射信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param token header string false "认证token"
|
||||
// @Param storeID query int true "门店ID"
|
||||
// @Param vendorID query int false "厂商ID(缺省为全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
|
||||
@@ -46,6 +46,7 @@ func (c *DadaDeliveryController) Notify() {
|
||||
c.Data["json"] = notifyResponse
|
||||
c.ServeJSON()
|
||||
}
|
||||
globals.SugarLogger.Debugf("DadaDeliveryController.Notify:%s", utils.Format4Output(notifyResponse, false))
|
||||
} else {
|
||||
c.Abort("404")
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ func init() {
|
||||
}
|
||||
|
||||
func Init() {
|
||||
if !IsProductEnv() {
|
||||
if false { //!IsProductEnv() {
|
||||
OutputDebugMsgLevel = 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user