Documentation
¶
Index ¶
- func AddGoods(token string, req entity.GoodsRequest) (res entity.ResponseData)
- func AddGoodsType(token string, req entity.GoodsTypeRequest) (res entity.ResponseData)
- func AddTable(token string, req entity.TableRequest) (res entity.ResponseData)
- func AddTableType(token string, req entity.TableTypeRequest) (res entity.ResponseData)
- func CodeLogin(req entity.BusinessLoginOrRegisterRequest, ip string) (res entity.ResponseData)
- func DeleteGoods(token string, ids []int64) (res entity.ResponseData)
- func DeleteGoodsType(token string, ids []int64) (res entity.ResponseData)
- func DeleteTable(token string, ids []int64) (res entity.ResponseData)
- func DeleteTableType(token string, ids []int64) (res entity.ResponseData)
- func DownOrUpGoods(id int64, downOrup bool) (res entity.ResponseData)
- func PassLogin(req entity.BusinessPassLoginRequest, ip string) (res entity.ResponseData)
- func QueryBusinessStoreInfo(token string) (res entity.ResponseData)
- func QueryGoods(token string, pageSize int, page int) (res entity.ResponseData)
- func QueryGoodsByID(id int64) (res entity.ResponseData)
- func QueryGoodsType(token string, pageSize int, page int) (res entity.ResponseData)
- func QueryGoodsTypeByID(id int64) (res entity.ResponseData)
- func QueryGoodsTypeIDAndNameByAdminID(token string) (res entity.ResponseData)
- func QueryTable(token string, pageSize int, page int) (res entity.ResponseData)
- func QueryTableByID(id int64) (res entity.ResponseData)
- func QueryTableType(token string, pageSize int, page int) (res entity.ResponseData)
- func QueryTableTypeByID(id int64) (res entity.ResponseData)
- func QueryTableTypeIDAndNameByAdminID(token string) (res entity.ResponseData)
- func Register(req entity.BusinessLoginOrRegisterRequest) (res entity.ResponseData)
- func SettingTableqrcode(token string, host string, id int64) (res entity.ResponseData)
- func UpdateBusinessStoreInfo(token string, req entity.BusinessStoreRequest) (res entity.ResponseData)
- func UpdateGoods(token string, id int64, req entity.GoodsRequest) (res entity.ResponseData)
- func UpdateGoodsType(token string, id int64, req entity.GoodsTypeRequest) (res entity.ResponseData)
- func UpdateTable(token string, id int64, req entity.TableRequest) (res entity.ResponseData)
- func UpdateTableType(token string, id int64, req entity.TableTypeRequest) (res entity.ResponseData)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGoodsType ¶
func AddGoodsType(token string, req entity.GoodsTypeRequest) (res entity.ResponseData)
添加商品种类
func AddTableType ¶
func AddTableType(token string, req entity.TableTypeRequest) (res entity.ResponseData)
添加餐桌种类
func CodeLogin ¶
func CodeLogin(req entity.BusinessLoginOrRegisterRequest, ip string) (res entity.ResponseData)
商家验证码登录
func DeleteGoodsType ¶
func DeleteGoodsType(token string, ids []int64) (res entity.ResponseData)
删除商品种类
func DeleteTableType ¶
func DeleteTableType(token string, ids []int64) (res entity.ResponseData)
删除餐桌种类
func PassLogin ¶
func PassLogin(req entity.BusinessPassLoginRequest, ip string) (res entity.ResponseData)
商家账号密码登录
func QueryBusinessStoreInfo ¶
func QueryBusinessStoreInfo(token string) (res entity.ResponseData)
查询商家门店信息
func QueryGoods ¶
func QueryGoods(token string, pageSize int, page int) (res entity.ResponseData)
分页查询商家商品
func QueryGoodsType ¶
func QueryGoodsType(token string, pageSize int, page int) (res entity.ResponseData)
查询商家商品种类
func QueryGoodsTypeIDAndNameByAdminID ¶
func QueryGoodsTypeIDAndNameByAdminID(token string) (res entity.ResponseData)
查询商家商品种类ID和名称
func QueryTable ¶
func QueryTable(token string, pageSize int, page int) (res entity.ResponseData)
查询餐桌
func QueryTableType ¶
func QueryTableType(token string, pageSize int, page int) (res entity.ResponseData)
查询餐桌种类
func QueryTableTypeIDAndNameByAdminID ¶
func QueryTableTypeIDAndNameByAdminID(token string) (res entity.ResponseData)
查询商家餐桌种类ID和名称
func Register ¶
func Register(req entity.BusinessLoginOrRegisterRequest) (res entity.ResponseData)
商家注册
func SettingTableqrcode ¶
func SettingTableqrcode(token string, host string, id int64) (res entity.ResponseData)
生成餐桌二维码
func UpdateBusinessStoreInfo ¶
func UpdateBusinessStoreInfo(token string, req entity.BusinessStoreRequest) (res entity.ResponseData)
更新或添加商家门店信息
func UpdateGoods ¶
func UpdateGoods(token string, id int64, req entity.GoodsRequest) (res entity.ResponseData)
修改商品
func UpdateGoodsType ¶
func UpdateGoodsType(token string, id int64, req entity.GoodsTypeRequest) (res entity.ResponseData)
修改商品种类
func UpdateTable ¶
func UpdateTable(token string, id int64, req entity.TableRequest) (res entity.ResponseData)
修改餐桌
func UpdateTableType ¶
func UpdateTableType(token string, id int64, req entity.TableTypeRequest) (res entity.ResponseData)
修改餐桌种类
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.