fix(手机端): 修改接口
This commit is contained in:
@@ -102,7 +102,7 @@ export default {
|
|||||||
if (page) {
|
if (page) {
|
||||||
this.searchQuery.page = page
|
this.searchQuery.page = page
|
||||||
}
|
}
|
||||||
this.$http._postData(this.url.searchSarBykey, this.searchQuery, config).then(res => {
|
this.$http._post(this.url.searchSarBykey, this.searchQuery, config).then(res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.total = res.data.count
|
this.total = res.data.count
|
||||||
if (this.searchQuery.page === 1) {
|
if (this.searchQuery.page === 1) {
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
if (page) {
|
if (page) {
|
||||||
this.searchQuery.page = page
|
this.searchQuery.page = page
|
||||||
}
|
}
|
||||||
this.$http._postData("search/searchCenter/searchSarBykey", this.searchQuery, config).then(res => {
|
this.$http._post("search/searchCenter/searchSarBykey", this.searchQuery, config).then(res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.total = res.data.count
|
this.total = res.data.count
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user