This commit is contained in:
lzx
2025-04-14 14:59:05 +08:00
parent a5a2cfb5f9
commit f0f90bed15
4 changed files with 46 additions and 39 deletions

View File

@@ -0,0 +1,4 @@
# docs.md
```
m2pool模块、组件通信和数据结构
```

View File

@@ -0,0 +1,23 @@
# 模块通信接口及数据结构定义,仅针对非数据库部分
## web <-> core (接收请求方 <-> 发送请求方、接收响应方)
### request
```
protocal: https
method: post
target: https://m2pool.com/api/pool/checkAccount
params:
{
"coin": <coin><string>,
"ma": <user><string>,
}
```
### response(success)
```
<result><bool>
```
### response(fail)
```
<error info>
```