jhzh
2025-04-27 c6c703c80be3ee1f1f2d28f820c4d3b730e17040
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import Serve from '@/api/serve/index'
class Otc {
    static userPayment(data) {
        return Serve.get(`/userPayment`,data,{loading:true});
    }
    static editUserPayment(data) {
        return Serve.post(`/userPayment/${data.id}`,data,{loading:true});
    }
    static getUserPayment(data) {
        return Serve.post(`/userPayment/${data.id}`,{},{loading:true});
    }
    static addUserPayment(data) {
        return Serve.post(`/userPayment`,data,{loading:true});
    }
    static otcTicker(){
        return Serve.get(`/otc/otcTicker`,{});
    }
    static tradingEntrusts(data){
        return Serve.get(`/otc/tradingEntrusts`,data,{loading:true})
    }
    static storeEntrust(data){
        return Serve.post(`/otc/storeEntrust`,data,{loading:true})
    }
    static storeOrder(data){
        return Serve.post(`/otc/storeOrder`,data,{loading:true})
    }
    static myEntrusts(data){
        return Serve.get(`/otc/myEntrusts`,data,{loading:true})
    }
    static myOrders(data){
        return Serve.get(`/otc/myOrders`,data,{loading:true})
    }
    static cancelEntrust(data){
        return Serve.post(`/otc/cancelEntrust`,data,{loading:true})
    }
    static cancelOrder(data){
        return Serve.post(`/otc/cancelOrder`,data,{loading:true})
    }
    static confirmPaidOrder(data){
        return Serve.post(`/otc/confirmPaidOrder`,data,{loading:true})
    }
    static confirmOrder(data){
        return Serve.post(`/otc/confirmOrder`,data,{loading:true})
    }
    static notConfirmOrder(data){
        return Serve.post(`/otc/notConfirmOrder`,data,{loading:true})
    }
    static orderDetail(data){
        return Serve.get(`/otc/orderDetail`,data,{loading:true})
    }
    static otcAccount(data){
        return Serve.get(`/otc/otcAccount`,data,{loading:true})
    }
    
    static legalBuy(data){
        return Serve.post(`/user/legal-buy-sell`,data)
    }
    static legalPrice(data){
        return Serve.post(`/user/legal-unit-price`,data)
    }
    static legalList(data){
        return Serve.post(`/user/legal-order-list`,data)
    }
    static otcWalletLogs(data){
        return Serve.get(`/user/otcWalletLogs`,data)
    }
}
 
export default Otc;