1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- //获取h5资讯详情接口
- function getEvantDetails(params) {
- return service({
- url: `/api/user/v1/evant/information/get/evantDetails/${params}`,
- method: 'get',
-
- })
- }
- //是否删除文章获取h5资讯详情接口
- function getEvantCheck(params) {
- return service({
- url: `/api/user/v1/evant/information/evant/check/${params}`,
- method: 'get',
-
- })
- }
- //获取活动数据
- function getActDetail() {
- return service({
- url: `/api/public/v4/actFissionAward/getActDetail`,
- method: 'get',
- })
- }
- //获取活动数据
- function getActDetailList(token) {
- return service({
- url: `/api/public/v4/actFissionAward/getActDetail`,
- method: 'get',
- headers:{
- 'Authorization': token
- },
- })
- }
- //跑马灯
- function getMarquee() {
- return service({
- url: `/api/public/v4/actFissionAward/marquee`,
- method: 'get',
-
- })
- }
- //活动领取奖励
- function getAwardPage(token,params) {
- return service({
- url: `/api/public/v4/actFissionAward/awardPage`,
- method: 'post',
- headers:{
- 'Authorization': token
- },
- data: params
- })
- }
- //活动领取校验接口
- function getCheck(token) {
- return service({
- url: `/api/public/v4/actFissionAward/receiveCheck`,
- method: 'get',
- headers:{
- 'Authorization': token
- },
-
- })
- }
- //获取攻略列表
- function getStrategy(id) {
- return service({
- url: `/api/public/v4/actFissionAward/getStrategy?strategyId=${id}`,
- method: 'get',
-
- })
- }
- //新用户使用激活码
- function getActivationCode(data,tagId,deviceId,captchaVerification) {
- var urls = '';
- if(captchaVerification){
- captchaVerification = encodeURIComponent(captchaVerification);
- urls = `/api/public/v4/actFissionAward/getActivationCode?username=${data}&tagId=${tagId}&deviceId=${deviceId}&captchaVerification=${captchaVerification}`
- }else{
- urls = `/api/public/v4/actFissionAward/getActivationCode?username=${data}&tagId=${tagId}&deviceId=${deviceId}`
- }
- return service({
- url: urls,
- method: 'get',
-
- })
- }
- //数据埋点
- function systemBuriedPoint(data) {
- return service({
- url: `/api/public/v1/systemBuriedPoint/stat`,
- method: 'post',
- data:data
-
- })
- }
|