获取单曲价格模板
GET
无
HFMusicSkuRequest request = new HFMusicSkuRequest();
request.setMethod(HFRequest.METHOD_GET);
request.setClientId("test_hifive_123");
request.setVersion("V4.2.0");
try {
HFMusicSkuResponse response = client.execute(request);
System.out.println(JSON.toJSON(response));
} catch (ApiException e) {
e.printStackTrace();
}
curl - G https: //gateway-open.haifanwu.com -H 'Authorization:HF3-HMAC-SHA1 Signature=DD0F32E568A6737CEA1EDF3A5A15B558' -H 'X-HF-ClientId:hf2y7jk19a56qetq05' -H 'X-HF-AppId:170ae316b9b14c1b9c185988771bde16' -H 'X-HF-Action:MusicSKU' -H 'X-HF-Timestamp:1610589350415' -H 'X-HF-Version:V4.2.0' -H 'X-HF-Nonce:9jpI3WY3A1cq0trM5Ku5JiwuPuqzCgMw'
-X GET - d 'MusicId=125F34E51B0D'
{
"code": 10200,
"msg": "操作成功",
"goods": {
"goodsProperties": [
"goodsPriceTypeName": 10,
"commodityPropertyId": 1,
"commodityPropertyName": "应用场景",
"propertyValue": "广告/宣传片",
"id": 16286,
"goodsPriceTypeId": 10,
"parentId": 0,
"child": [],
},
"taskId": "2b6c8767e2358e3a"
] }