|
|
@ -9,7 +9,9 @@ const {
|
|
|
|
const { formatResponse } = require("../utils/tools");
|
|
|
|
const { formatResponse } = require("../utils/tools");
|
|
|
|
|
|
|
|
|
|
|
|
router.get("/", async function (req, res, next) {
|
|
|
|
router.get("/", async function (req, res, next) {
|
|
|
|
const data = await getAddressServices();
|
|
|
|
// 从查询参数中获取senderId
|
|
|
|
|
|
|
|
const { senderId } = req.query;
|
|
|
|
|
|
|
|
const data = await getAddressServices(senderId);
|
|
|
|
res.send(formatResponse(0, "", data));
|
|
|
|
res.send(formatResponse(0, "", data));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|