注意:为保证签名的一致性,返回报文中的content字段将以string形式的进行返回,例如:
{ "content": { "userId": 1, "userName": "Trump" } }
将返回为:
{ "content": "{\"userId\":1,\"userName\":\"Trump\"}" }
请求示例:
{ "uuid": "20210629-rmophzrnegqkdyirfpnbxbyjicogklge", "appId": "ebuydev100100100", "action": "getMemberCardInfo", "timestamp": 1624954390, "signType": "sha256", "sign": "8490202684823848", "content": { "cardType": "Level", "cardName": "", "cardCategoryType": "", "memberId": "", "shelfId": "" }, "lang": "zh_CN" }
返回示例:
{ "uuid": "20210629-rmophzrnegqkdyirfpnbxbyjicogklge", "action": "getMemberCardInfo", "content": "{\"dataList\":[{\"cardInfoDtoList\":[{\"cardName\":\"一级等级卡\",\"goodsSort\":999,\"multipleCardType\":\"NoRepeat\",\"periodValue\":1,\"expireDateType\":\"Forever\",\"cardConfig\":\"{\\\"description\\\": \\\"<p>一级等级卡2</p>\\\", \\\"isRelegation\\\": \\\"\\\", \\\"levelRuleDes\\\": \\\"\\\", \\\"deductionValue\\\": \\\"\\\", \\\"maxGrowthValue\\\": \\\"1500\\\", \\\"minGrowthValue\\\": \\\"1\\\"}\",\"cardIconUrl\":\"https://ebuyimg.e-mallchina.com/paas-app-adminauth/20201226154749qLdQxZve.png\",\"categoryTypeSort\":1,\"productId\":70,\"modelStatus\":\"Normal\",\"cardType\":\"Level\",\"cardSurfaceUrl\":\"https://ebuyimg.e-mallchina.com/paas-app-adminauth/20201226154742vbFY1dXO.png\",\"tenancyId\":16,\"openCardMode\":\"Pay\",\"periodType\":\"Year\",\"productCode\":\"2718470453070845\",\"cardCategoryType\":\"Level\",\"sharingCard\":\"NotShare\",\"openCardPrice\":300.0000,\"categoryTypeLabel\":\"一级等级卡\",\"issuingMode\":\"Issuing\"}],\"cardCategoryType\":\"Level\",\"categoryTypeLabel\":\"一级等级卡\"}]}", "success": true, "errorCode": "", "errorMessage": "", "timestamp": 1624954603529, "sign": "cf5fb4a114248a0efecc0a486b5997980653b3cd9a648432613595e62869d8af", "signType": "sha256" }
No Comments