Store and review

1.上传图片

/custodyAccount/store/UploadingStoreImage

请求e.g

curl --location 'http://localhost:8081/custodyAccount/store/UploadingStoreImage' --header 'Authorization: ••••••' --form 'file=@"/C:/Users/Desktop/backgrou.png"'

返回值:

{
    "success": true,
    "error": "",
    "code": 200,
    "data": "https://cdn.file.microlinktoken.com/CustodyStoreImages/2_20250519160734.jpg"
}

2.商家账户申请

2.1 申请新的商家

/custodyAccount/store/ApplyNewStore

请求体:

{"store_info":"{\"npubkey\":\"testusr11\",\"storeType\":\"a\",\"assetId\":\"dc073ca924754b50257de9569f4f6a0ce7c9026720eb5c52f42afab5aab8ad0e\",\"assetName\":\"we\",\"feeRate\":0.00,\"area\":\"exampleArea\",\"address\":\"exampleAddress\",\"name\":\"exampleName\",\"scope\":\"exampleScope\",\"linkName\":\"exampleLinkName\",\"linkPhone\":\"1111111\",\"proposer\":\"exampleProposer\",\"proposerPhone\":\"1111111\",\"proposeTime\":\"exampleProposeTime\",\"imageStoreFront\":\"exampleImageStoreFront\",\"imageCashierDesk\":\"exampleImageCashierDesk\",\"imagePanorama\":\"exampleImagePanorama\"}"}

store_info类型为字符串,是一个json字符串,格式如下

返回值

2.2查看申请历史

/custodyAccount/store/ListNewStoreProposes

请求体无:

响应体:

data中字段即位2.1中传入的json字符串

3评论相关

3.1获取一个交易的详细信息

/custodyAccount/store/GetOrderInfo

请求体:

响应体:

3.2发布评论

/custodyAccount/store/ApplyReview

请求体:

review为字符串,其中为json字符串,格式

返回值:

3.3查询评论历史

/custodyAccount/store/ListApplyReviewProposes

无请求体

响应体

Data格式同3.2

Last updated