fix ads,passport
This commit is contained in:
32
sdk/docs/ads/ads.md
Normal file
32
sdk/docs/ads/ads.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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>
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user