- financial/GetStoreBills

This commit is contained in:
gazebo
2018-10-24 11:45:37 +08:00
parent 5811d3cb68
commit 7b6c9fd73a
4 changed files with 40 additions and 5 deletions

View File

@@ -41,3 +41,17 @@ func (c *FinancialController) SendFilesToStores() {
})
}
}
// @Title 查询门店账单
// @Description 查询门店账单
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetStoreBills [get]
func (c *FinancialController) GetStoreBills() {
c.callGetStoreBills(func(params *tFinancialGetStoreBillsParams) (retVal interface{}, errCode string, err error) {
retVal, err = financial.GetStoreBills(params.Ctx, params.StoreID)
return retVal, "", err
})
}