增加线下提号店铺管理

This commit is contained in:
yml2213
2026-07-26 18:19:12 +08:00
parent c594b543d1
commit 6b44ab599d
12 changed files with 176 additions and 2 deletions
@@ -122,6 +122,16 @@ func (h *Handler) List(c *gin.Context) {
response.OK(c, result)
}
// ShopOptions 返回后台提号已使用的店铺名称。
func (h *Handler) ShopOptions(c *gin.Context) {
items, err := h.service.ListShopNames(c.Request.Context(), c.Query("platform"))
if err != nil {
writePickupError(c, err)
return
}
response.OK(c, items)
}
// Detail 提号订单详情(管理员)
func (h *Handler) Detail(c *gin.Context) {
id, ok := parseID(c)