第一次提交
This commit is contained in:
16
api/demo.js
Normal file
16
api/demo.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import http from './index.js';
|
||||
|
||||
// 添加购物车
|
||||
export const ServerTime = () => http.post('http://127.0.0.1:9090/hxz/v1/ServerTime')
|
||||
|
||||
export const QRCodeTransaction = (data) => http.post('http://127.0.0.1:9090/hxz/v1/QRCodeTransaction',data)
|
||||
export const QRCodeTransaction2 = (data) => http.post('https://server.gxwebsoft.com/hxz/v1/QRCodeTransaction',data)
|
||||
export const TransactionInquiry = (data) => http.post('http://127.0.0.1:9090/hxz/v1/TransactionInquiry',data)
|
||||
|
||||
|
||||
export default {
|
||||
ServerTime,
|
||||
QRCodeTransaction,
|
||||
QRCodeTransaction2,
|
||||
TransactionInquiry
|
||||
}
|
||||
Reference in New Issue
Block a user