This commit is contained in:
苏尹岚
2021-02-25 10:21:13 +08:00
parent 3653a85af2
commit 578ba51f9a
4 changed files with 151 additions and 0 deletions

View File

@@ -1053,3 +1053,17 @@ func (c *StoreController) StoreConfirmAct() {
return retVal, "", err
})
}
// @Title 查询门店账户余额
// @Description 查询门店账户余额
// @Param token header string true "认证token"
// @Param storeID formData int true "门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetStoreAcctBalance [get]
func (c *StoreController) GetStoreAcctBalance() {
c.callGetStoreAcctBalance(func(params *tStoreGetStoreAcctBalanceParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetStoreAcctBalance(params.Ctx, params.StoreID)
return retVal, "", err
})
}