javascript/axios/service/ads/Fetch.ts

16 lines
338 B
TypeScript
Raw Permalink Normal View History

2024-02-27 22:32:45 +08:00
2024-02-27 16:40:24 +08:00
import request from "../../request";
import { AxiosPromise } from "axios";
import { ByPosRequest,ByPosReply } from "./types";
2024-02-27 22:32:45 +08:00
// 通过广告位获取广告信息
2024-02-27 16:40:24 +08:00
export function ByPos(data: ByPosRequest): AxiosPromise<ByPosReply> {
2024-02-27 22:32:45 +08:00
return request({
url: "/ads.Fetch.ByPos",
method: "post",
data: data,
2024-02-27 23:01:27 +08:00
});
2024-02-27 22:32:45 +08:00
}