This commit is contained in:
邹宗楠
2022-12-06 17:35:38 +08:00
parent a1847b2aae
commit f2e7ff0757
5 changed files with 32 additions and 3 deletions

View File

@@ -1543,3 +1543,18 @@ func (c *StoreController) CreateFreeShipTemplates() {
return retVal, "", err
})
}
// @Title 打印机获取授权账号再京西菜市的绑定关系
// @Description 打印机获取授权账号再京西菜市的绑定关系
// @Param token header string true "认证token"
// @Param vendorStoreId formData string true "平台账号id"
// @Param vendorId formData int true "平台id"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /PrintCheckAccountAuthorization [post]
func (c *StoreController) PrintCheckAccountAuthorization() {
c.callPrintCheckAccountAuthorization(func(params *tStorePrintCheckAccountAuthorizationParams) (interface{}, string, error) {
retVal, err := cms.GetVendorStoreBind(params.VendorStoreId, params.VendorId)
return retVal, "", err
})
}