mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-06 00:27:14 +08:00
fix(web): 前端适配新接口
This commit is contained in:
parent
d3d091d9dd
commit
2f13bd5122
@ -14,6 +14,7 @@ function SendAjax() {
|
||||
success: function (result) {
|
||||
// console.log(result);//打印服务端返回的数据(调试用)
|
||||
if (result.status_code === 200) {
|
||||
result = result.data
|
||||
if (result.awemeType === 0) {
|
||||
$("#awemeType").html("预览视频");
|
||||
$("#AwemeOrLive").html("下载视频");
|
||||
|
Loading…
x
Reference in New Issue
Block a user