33 lines
533 B
Markdown
33 lines
533 B
Markdown
# Fetch
|
|
|
|
广告子系统
|
|
|
|
- [/ads.Fetch/ByPos](#adsfetchbypos)
|
|
|
|
## /ads.Fetch/ByPos
|
|
|
|
通过广告位获取广告信息
|
|
|
|
|
|
### Request
|
|
```javascript
|
|
{
|
|
key: "", // type<string>
|
|
}
|
|
```
|
|
|
|
### Reply
|
|
```javascript
|
|
{
|
|
data: [{
|
|
id: "0", // type<int64>
|
|
title: "", // type<string>, 广告名称
|
|
content: "", // type<string>, 广告内容
|
|
type: 0, // type<int32>, 广告类型 1.文本 2.图片 3.视频
|
|
toUrl: "", // type<string>
|
|
created: "", // type<string>
|
|
}], // list<AdsItem>
|
|
}
|
|
```
|
|
|