optmize tencent api