请求方式 POST 请求路径 api/DataAnalysis/AddViewLog

添加广告浏览记录

URI 参数说明

None.

Json字符串 参数说明:Body Data

CMSViewLogModel
字段说明类型备注说明
CompanyId

integer

None.

CmsID

cms表id

integer

None.

CmsType

类型 1首页banner 2首页团购 3首页期货 4APP背景图 5.首页弹框 6.直播封面(只用图片和启用状态) 7.客服咨询 8团长易购banner 9.团长易购弹框 10.新品推荐 11.货栈推荐 12.推广页banner

integer

None.

CmsContent

banner标题

string

None.

CustomerId

integer

None.

AddTime

date

None.

SourceId

0小程序 1app

integer

None.

请求格式:application/json, text/json

application/json

Sample:
{
  "CompanyId": 1,
  "CmsID": 2,
  "CmsType": 3,
  "CmsContent": "sample string 4",
  "CustomerId": 5,
  "AddTime": "2025-07-03 18:01:03",
  "SourceId": 7
}

得到响应信息说明

添加广告浏览记录

ResponseResult
字段说明类型备注说明
ResponseMsg

返回结果内容描述

string

None.

ResponseCode

状态码 0(成功) >0(业务错误) <0(系统错误) -1: 系统错误 100: 字符为空报错 101: 字符类型错误 102: 图片上传失败200: 操作失败300: 缓存验证超时错误 301: 缓存验证码错误 302: token 错误系统不存在,非法操作 303: token 验证超时500: 参数错误 501: 数据为空 502: 存在重复数据 503: 业务验证失败

integer

None.

Data

返回的结果集

Object

None.

响应格式

application/json, text/json

Sample:
{
  "ResponseMsg": "sample string 1",
  "ResponseCode": 2,
  "Data": {}
}