router/api-router.go:392。controller.GetAllVendors,controller/vendor_meta.go:15。model:read。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/vendors/?keyword=&association=&p=&page_size=&ps=&size=' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "",
"data": {
"page": 1,
"page_size": 10,
"total": 0,
"items": []
}
}