Bladeren bron

接口文件修改

DESKTOP-SVI9JE1\muzen 1 jaar geleden
bovenliggende
commit
d3283eb8fc
2 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen
  1. 4 4
      src/api/operation/channel.js
  2. 3 3
      src/api/operation/recommend.js

+ 4 - 4
src/api/operation/channel.js

@@ -45,7 +45,7 @@ export function create(data) {
 }
 
 // 频道属性
-export function channelTemplate(data){
+export function channelTemplate(data) {
   return request({
     url: `/device/channelTemplate/searchClassify`,
     method: 'post',
@@ -72,11 +72,11 @@ export function edit(data) {
 }
 
 // 频道内容列表
-export function list(query) {
+export function list(data) {
   return request({
     url: `/commonRadio/page`,
-    method: 'get',
-    params: query
+    method: 'post',
+    data
   })
 }
 

+ 3 - 3
src/api/operation/recommend.js

@@ -75,11 +75,11 @@ export function moduleList(id) {
 }
 
 // 音频内容列表
-export function radioList(query) {
+export function radioList(data) {
   return request({
     url: `/commonRadio/page`,
-    method: 'get',
-    params: query
+    method: 'post',
+    data
   })
 }