feat(consignment): 苏尔南寄卖接入打手端押金履约
打手可直接提报寄卖,关联 worker 与履约押金后指派交枪;后台去掉旧收集链接管理,提报审核与库存/工单流程对齐接单平台。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,6 +5,7 @@ import workerAuthSessionRoutes from './worker/auth-session.js'
|
||||
import workerProfileRoutes from './worker/profile.js'
|
||||
import workerHallRoutes from './worker/hall.js'
|
||||
import workerOrdersRoutes from './worker/orders.js'
|
||||
import workerConsignmentRoutes from './worker/consignment.js'
|
||||
import { requireWorkerSession } from './worker/session.js'
|
||||
import { buildNotFoundPayload } from '../utils/http.js'
|
||||
|
||||
@@ -22,6 +23,8 @@ router.use(workerHallRoutes)
|
||||
|
||||
router.use(workerOrdersRoutes)
|
||||
|
||||
router.use(workerConsignmentRoutes)
|
||||
|
||||
router.use((req, res) => {
|
||||
res.status(404).json(buildNotFoundPayload(req))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user