feat: 按允许店铺筛选顺运宝同步 (#196)
This commit is contained in:
@@ -84,6 +84,10 @@ func Register(r *gin.Engine, db *sql.DB, onlineThreshold time.Duration) {
|
||||
pages.POST("/syb/match", h.SybMatch)
|
||||
pages.POST("/syb/create-task", h.SybCreateTask)
|
||||
pages.POST("/syb/delete", h.SybDelete)
|
||||
sybShops := pages.Group("/syb/shops", AdminRequired())
|
||||
sybShops.GET("", h.SybAllowedShopList)
|
||||
sybShops.POST("/create", h.SybAllowedShopCreate)
|
||||
sybShops.POST("/status", h.SybAllowedShopStatus)
|
||||
|
||||
// 4. 采集采购
|
||||
pages.GET("/tasks", h.TaskList)
|
||||
|
||||
Reference in New Issue
Block a user