wiki:appapi/1.0

Version 8 (modified by zhoutianhuai, 11 years ago) (diff)

--

1. 车友会任务接口1.0

备注:

1.0相关,开发环境URL前缀:  http://dev18.pcauto.com.cn/ 2任务系统相关接口,开发环境域名: http://dev38.pcauto.com.cn:8085/

1. 车友会任务接口1.0

1.1. app使用 任务列表接口1.0

接口/intf/clubgc/app/taskList.do [get]
请求参数 :无

是否登录 :是
缓存时间 : 否
是否分页 : 否

返回结果:
{
	disposableTask: [ { 一次性任务
               appAction: {
                   action: 动作,
                   desc: 动作描述
               },
               application: 应用,
               applogo: app的logo链接,
               current: 当前完成的次数,
               gold: 奖励金币,
               limitDaily: 每天最大次数,
               limitPermanantly: 永久次数,
               pcaAction: {
                  action: 动作,
                  desc: 动作描述
               },
               pclogo: 在pc的logo链接,
               received: 是否领取了奖励,
               status: 状态,
               taskId: 任务id,
               taskName: 任务名称,
               taskType: 任务类型,
               wapAction: {
                   desc: 描述,
                   text: 文本,
                   url: 链接
                   }
               },

           ],
         normalTasks: [ { 日常任务
               appAction: {
                   action: 动作,
                   desc: 动作描述
               },
               application: 应用,
               applogo: app的logo链接,
               current: 当前完成的次数,
               gold: 奖励金币,
               limitDaily: 每天最大次数,
               limitPermanantly: 永久次数,
               pcaAction: {
                  action: 动作,
                  desc: 动作描述
               },
               pclogo: 在pc的logo链接,
               received: 是否领取了奖励,
               status: 状态,
               taskId: 任务id,
               taskName: 任务名称,
               taskType: 任务类型,
               wapAction: {
                   desc: 描述,
                   text: 文本,
                   url: 链接
                   }
               },

           ]
}

1.2. 临时供wap使用 任务列表接口1.0

接口/intf/clubgc/temp/taskList.do [get]
请求参数 :无

是否登录 : 是
缓存时间 : 否
是否分页 : 否

返回结果:
{
	disposableTask: [ { 一次性任务
               appAction: {
                   action: 动作,
                   desc: 动作描述
               },
               application: 应用,
               applogo: app的logo链接,
               current: 当前完成的次数,
               gold: 奖励金币,
               limitDaily: 每天最大次数,
               limitPermanantly: 永久次数,
               pcaAction: {
                  action: 动作,
                  desc: 动作描述
               },
               pclogo: 在pc的logo链接,
               received: 是否领取了奖励,
               status: 状态,
               taskId: 任务id,
               taskName: 任务名称,
               taskType: 任务类型,
               wapAction: {
                   desc: 描述,
                   text: 文本,
                   url: 链接
                   }
               },

           ],
         normalTasks: [ { 日常任务
               appAction: {
                   action: 动作,
                   desc: 动作描述
               },
               application: 应用,
               applogo: app的logo链接,
               current: 当前完成的次数,
               gold: 奖励金币,
               limitDaily: 每天最大次数,
               limitPermanantly: 永久次数,
               pcaAction: {
                  action: 动作,
                  desc: 动作描述
               },
               pclogo: 在pc的logo链接,
               received: 是否领取了奖励,
               status: 状态,
               taskId: 任务id,
               taskName: 任务名称,
               taskType: 任务类型,
               wapAction: {
                   desc: 描述,
                   text: 文本,
                   url: 链接
                   }
               },

           ]
}

1.3. 任务列表接口1.0

接口/intf/clubgc/temp/taskList.do [get]
请求参数 :无

是否登录 : 否
缓存时间 : 否
是否分页 : 否

返回结果:
{
	disposableTask: [ { 一次性任务
               appAction: {
                   action: 动作,
                   desc: 动作描述
               },
               application: 应用,
               applogo: app的logo链接,
               current: 当前完成的次数,
               gold: 奖励金币,
               limitDaily: 每天最大次数,
               limitPermanantly: 永久次数,
               pcaAction: {
                  action: 动作,
                  desc: 动作描述
               },
               pclogo: 在pc的logo链接,
               received: 是否领取了奖励,
               status: 状态,
               taskId: 任务id,
               taskName: 任务名称,
               taskType: 任务类型,
               wapAction: {
                   desc: 描述,
                   text: 文本,
                   url: 链接
                   }
               },

           ],
         normalTasks: [ { 日常任务
               appAction: {
                   action: 动作,
                   desc: 动作描述
               },
               application: 应用,
               applogo: app的logo链接,
               current: 当前完成的次数,
               gold: 奖励金币,
               limitDaily: 每天最大次数,
               limitPermanantly: 永久次数,
               pcaAction: {
                  action: 动作,
                  desc: 动作描述
               },
               pclogo: 在pc的logo链接,
               received: 是否领取了奖励,
               status: 状态,
               taskId: 任务id,
               taskName: 任务名称,
               taskType: 任务类型,
               wapAction: {
                   desc: 描述,
                   text: 文本,
                   url: 链接
                   }
               },

           ]
}

1.4. 用户任务状态接口1.0

接口/intf/clubgc/taskProgress.do [get]
请求参数 :无

是否登录 : 是
缓存时间 : 否
是否分页 : 否

返回结果:
{
	 [ {
             current:当前完成的次数,
             received: 是否领取了奖励,
             status: 任务状态,
             taskId: 任务id
           }
           
         ]
}

1.5. 获取当前登录用户信息接口1.0

接口/intf/clubgc/getUserInfo.do [get]
请求参数 :无

是否登录 :是
缓存时间 : 否
是否分页 : 否

返回结果:
{
	  {
             goldCount: 用户现有金币数,
             status: 状态,
             userId: 用户id,
             userName:用户昵称
           }
           
         
}

1.6. 根据uid获取用户信息接口1.0

接口/intf/clubgc/getUserInfo.do [get]
请求参数 :uid

是否登录 :否
缓存时间 : 否
是否分页 : 否

返回结果:
{
	  {
             goldCount: 用户现有金币数,
             status: 状态,
             userId: 用户id,
             userName:用户昵称
           }
           
         
}