递归火山软件开发平台
标题:
求助一下 刚来火山,精易模块协议头这个写法 对应火山.....
[打印本页]
作者:
lmclmc
时间:
2024-5-26 12:13
标题:
求助一下 刚来火山,精易模块协议头这个写法 对应火山.....
本帖最后由 lmclmc 于 2024-5-26 12:37 编辑
.版本 2
局_网址 =网址
m_Json.创建 (, , , , )
m_Json.置文本 (“sort_time”, “0”)
m_Json.置文本 (“start”, “1”)
m_Json.置文本 (“sort_range”, “0”)
m_Json.置文本 (“is_filter_st”, “0”)
m_Json.置文本 (“sort_price”, “0”)
m_Json.置文本 (“limit”, “10”)
m_Json.置文本 (“action_field_id”, “all,2024-05-23”)
局_提交数据 = m_Json.到文本 (, , , )
http.打开 (“POST”, 局_网址)
http.置协议头 (“Accept-Encoding”, “gzip”)
http.置协议头 (“Connection”, “Keep-Alive”)
http.置协议头 (“Content-Length”, “130”)
http.置协议头 (“Content-Type”, “application/json; charset=UTF-8”)
http.置协议头 (“Host”, “app.jiuyangongshe.com”)
http.置协议头 (“User-Agent”, “okhttp/3.12.12”)
http.置协议头 (“platform”, “0”)
http.置协议头 (“timestamp”, “1716522442983”)
http.置协议头 (“token”, “d5484870300701b151bb81bd7a78a6b2”)
http.置协议头 (“version”, “2023101617”)
http.置协议头 (“version_name”, “1.2.7”)
http.发送 (局_提交数据)
局_结果 = http.取响应内容 ()
局_返回 = 编码_Utf8到Ansi (局_结果)
返回 (局_返回)
欢迎光临 递归火山软件开发平台 (https://bbs.voldp.com/)
Powered by Discuz! X3.4