123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- import request from "@/utils/request.js";
- // 获取自媒体列表
- export function getZmtList(data) {
- return request({
- url: '/api/enterprise/putlist',
- method: 'get',
- data
- });
- }
- // 获取文章分类列表
- export function getArtTypeList(data) {
- return request({
- url: '/api/article/category/list',
- method: 'get',
- data
- });
- }
- // 获取文章列表
- // type 不填则为推荐 为0 则为顶置 其他则为分类id
- export function getArtList(data) {
- return request({
- url: '/api/article/hot/list',
- method: 'get',
- data
- });
- }
- // 获取文章详情
- export function getArtDetail(data,id) {
- return request({
- url: '/api/article/details/' + id,
- method: 'get',
- data
- });
- }
- // 企业赋能分类、企业类型
- export function getQyType(data) {
- return request({
- url: '/api/enterprise/stylelist',
- method: 'get',
- data
- });
- }
- ///企业文章列表
- export function getQyArtList(data) {
- return request({
- url: '/api/enterprise/lists',
- method: 'get',
- data
- });
- }
- // 订阅/user/sub
- export function dingYue(data) {
- return request({
- url: '/api/user/sub',
- method: 'get',
- data
- });
- }
- // 自媒体查询
- export function searchZmt(data) {
- return request({
- url: '/api/enterprise/search',
- method: 'get',
- data
- });
- }
- //文章查询
- export function searchArt(data) {
- return request({
- url: '/api/article/keyword',
- method: 'get',
- data
- });
- }
- //获取文章评论
- export function getPlList(data,id) {
- return request({
- url: '/api/article/reply_list/' + id,
- method: 'get',
- data
- });
- }
- // 相关阅读
- export function getXgList(data) {
- return request({
- url: '/api/article/relevant/list',
- method: 'get',
- data
- });
- }
- // 点赞
- export function dianZan(data,id) {
- return request({
- url: '/api/article/good/' + id,
- method: 'post',
- data
- });
- }
- //发表评论article/reply/1
- export function subPl(data,id) {
- return request({
- url: '/api/article/reply/' + id,
- method: 'post',
- data
- });
- }
- // 获取会议详情
- export function getMeeting(data) {
- return request({
- url: '/api/mee/get',
- method: 'get',
- data
- });
- }
- // 参加会议
- export function joinMeeting(data) {
- return request({
- url: '/api/mee/set',
- method: 'post',
- data
- });
- }
|