Showing
1 changed file
with
2 additions
and
2 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2022-05-18 22:56:08 | 2 | * @Date: 2022-05-18 22:56:08 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2026-01-16 15:51:34 | 4 | + * @LastEditTime: 2026-01-20 11:47:29 |
| 5 | * @FilePath: /xyxBooking-weapp/src/api/fn.js | 5 | * @FilePath: /xyxBooking-weapp/src/api/fn.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| ... | @@ -75,7 +75,7 @@ export const uploadFn = (api) => { | ... | @@ -75,7 +75,7 @@ export const uploadFn = (api) => { |
| 75 | */ | 75 | */ |
| 76 | export const fetch = { | 76 | export const fetch = { |
| 77 | get: function (api, params) { | 77 | get: function (api, params) { |
| 78 | - return axios.get(api, { params }) | 78 | + return axios.get(api, params) |
| 79 | }, | 79 | }, |
| 80 | post: function (api, params) { | 80 | post: function (api, params) { |
| 81 | return axios.post(api, params) | 81 | return axios.post(api, params) | ... | ... |
-
Please register or login to post a comment