DESKTOP-SVI9JE1\muzen преди 1 година
родител
ревизия
d3283eb8fc
променени са 2 файла, в които са добавени 7 реда и са изтрити 7 реда
  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
   })
 }