From 8e1419f49508b97e45448f45f8945e2967cfd1c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 7 Apr 2021 09:06:00 +0800 Subject: [PATCH] aa --- controllers/cms_store.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/controllers/cms_store.go b/controllers/cms_store.go index 6f8755872..0a0ddb648 100644 --- a/controllers/cms_store.go +++ b/controllers/cms_store.go @@ -1067,3 +1067,17 @@ func (c *StoreController) GetStoreAcctBalance() { return retVal, "", err }) } + +// @Title 直接修改平台门店上下线 +// @Description 直接修改平台门店上下线 +// @Param token header string true "认证token" +// @Param storeID formData int true "门店ID" +// @Param status formData int true "状态,-1 下线,1上线" +// @Success 200 {object} controllers.CallResult +// @Failure 200 {object} controllers.CallResult +// @router /UpdateVendorStoreBussinessStatus [post] +func (c *StoreController) UpdateVendorStoreBussinessStatus() { + c.callUpdateVendorStoreBussinessStatus(func(params *tStoreUpdateVendorStoreBussinessStatusParams) (retVal interface{}, errCode string, err error) { + return retVal, "", err + }) +}