dever 6 years ago
parent
commit
c8d70ef339
1 changed files with 26 additions and 0 deletions
  1. 26 0
      doc/apidoc.php

+ 26 - 0
doc/apidoc.php

@@ -409,6 +409,32 @@
 
  */
 
+/**
+ * @api {get} wonderful/main/?l=content.ad 开屏广告接口
+ * @apiVersion 1.0.0
+ * @apiName content.ad
+ * @apiGroup Content
+ *
+ * @apiDescription 开屏广告接口
+ *
+ * @apiParam {String} signature signature
+ *
+ *
+ * @apiSuccess {Number}   uid  用户id 所有接口中都有该项
+ * @apiSuccess {Object[]} config 基本配置 所有接口中都有该项
+ * @apiSuccess {String}   config.name 系统名称 请将小程序和app头部名称替换为该字段
+ * @apiSuccess {String}   config.info 系统介绍
+ * @apiSuccess {String}   config.logo 系统logo
+ * @apiSuccess {String}   config.article_share_name 图文详情页分享文字
+ * @apiSuccess {String}   config.vod_share_name 视频详情页分享文字
+ * @apiSuccess {String}   config.live_share_name 直播详情页分享文字
+ * @apiSuccess {String}   config.ios_pay ios支付设置 1为不开启小程序支付,将所有购买按钮都隐藏掉,2为开启公众号支付,3开始小程序支付
+ * @apiSuccess {String}   config.ios_pay_pic ios里公众号支付引导图
+ * @apiSuccess {Object[]} push_screen_ad 广告
+ * @apiSuccess {String}   push_screen_ad.name 名称
+ * @apiSuccess {String}   push_screen_ad.pic 图片
+ */
+
 
 /**
  * @api {get} wonderful/main/?l=content.up 精选推荐更多