wuheng 2 年 前
コミット
16276a20cd
1 ファイル変更3 行追加2 行削除
  1. 3 2
      src/api/publisher/publisher.js

+ 3 - 2
src/api/publisher/publisher.js

@@ -20,8 +20,9 @@ export function deletePublisher(id){
 //搜索
 export function searchPublisher(publisherName){
     return request({
-        url:'/post/publisher/list=' + publisherName,
-        method: 'get'
+        url:'/post/publisher/list',
+        method: 'get',
+        params: publisherName
     })
 }