m2pool_docs/interface&dataStruct.md

24 lines
395 B
Markdown

# 模块通信接口及数据结构定义,仅针对非数据库部分
## 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>
```