Commit 6da7c2ce authored by liuxinjun's avatar liuxinjun

修复getButtonConfig的次数bug

parent d9f97b1e
...@@ -2464,7 +2464,21 @@ var sdk = { ...@@ -2464,7 +2464,21 @@ var sdk = {
}, },
/**
* @apiGroup C
* @apiName getButtonConfig
* @api {数据存储} 数据存储 getButtonConfig(取)
* @apiParam {String} buttonKey 按钮的键值 比如 hz2 hz3
* @apiParam {int} isCount 值为1或者0 1:表示本次调用使用次数加一;0:表示本次调用使用次数不发生变化
*
* @apiSuccessExample {json} 示例:
* var d = sdk.getButtonConfig("hz2");
* 特别说明:对于视频分享切换的解析返回的json为:
* {"type":"share","count":5,"left_count":3,"use_count":2,"next":"key_1"}
* 技术获取之后根据d.type判断类型然后做响应处理就可以了;
*
*
*/
getButtonConfig2(buttonKey,isCount) getButtonConfig2(buttonKey,isCount)
{ {
var c3 = this.getConfig3(); var c3 = this.getConfig3();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment