update
parent
8ffa88dac8
commit
890ba7bafb
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"editor.insertSpaces": true,
|
||||||
|
"editor.detectIndentation": false,
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": "explicit",
|
||||||
|
"source.organizeImports": "never"
|
||||||
|
},
|
||||||
|
"eslint.format.enable": true,
|
||||||
|
"eslint.codeAction.showDocumentation": {
|
||||||
|
"enable": true
|
||||||
|
},
|
||||||
|
"eslint.validate": [
|
||||||
|
// "jsonc",
|
||||||
|
"javascript",
|
||||||
|
"javascriptreact",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
|
"vue",
|
||||||
|
"html",
|
||||||
|
"markdown",
|
||||||
|
"json",
|
||||||
|
"yaml"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
import request from '@/utils/request/index.js'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 下单
|
||||||
|
*/
|
||||||
|
export const orderCreate = data =>
|
||||||
|
request.post('/orderCreate', data)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 支付
|
||||||
|
*/
|
||||||
|
export const orderPay = data =>
|
||||||
|
request.post('/payment', data)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 获取订单信息
|
||||||
|
*/
|
||||||
|
export const orderInfo = params =>
|
||||||
|
request.get('/order/infomation', params)
|
||||||
Loading…
Reference in New Issue