Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Sep 6, 2024
1 parent 4e18868 commit c4bb6b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"vuex": "^4.1.0"
},
"devDependencies": {
"@types/qs": "^6.9.15",
"@tsconfig/node20": "^20.1.4",
"@vue/tsconfig": "^0.5.1",
"@types/qs": "^6.9.15",
"@vicons/fa": "^0.12.0",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"git-revision-vite-plugin": "^0.0.11",
Expand Down
22 changes: 8 additions & 14 deletions src/api/v1/Donate/SetMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@ import { get } from '@/utils/request'
/**
* 列出赞助列表
*/
const SetMessage = async (
username: string,
token: string,
trade_no: string,
message: string

) => {
const rs = get(`${base.api_v1_url}/Donate/SetMessage`, {
username: username,
token: token,
trade_no: trade_no,
message: message
})
return base.buildResponse(await rs, false)
const SetMessage = async (username: string, token: string, trade_no: string, message: string) => {
const rs = get(`${base.api_v1_url}/Donate/SetMessage`, {
username: username,
token: token,
trade_no: trade_no,
message: message
})
return base.buildResponse(await rs, false)
}

export default SetMessage

0 comments on commit c4bb6b3

Please sign in to comment.