2 Star 3 Fork 2

csitian/华为云函数刷步数

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
step.php 557 Bytes
一键复制 编辑 原始数据 按行查看 历史
csitian 提交于 2023-03-01 09:12 +08:00 . add step.php.
<?php
$phone='账号'; // 账号
$pass='密码'; // 密码
$count=rand(15000,30000);// 随机生成8000-9999的数字 这里是步数
$bushu= file_get_contents("https://api.kit9.cn/api/xiaomi_sports/api.php?mobile=$phone&password=$pass&step=$count");
function handler($event, $context) {
$output = array(
"statusCode" => 200,
"headers" => array(
"Content-Type" => "application/json",
),
"isBase64Encoded" => false,
"body" => json_encode($event),
);
return $output;
}
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/csitian_admin_admin/step.git
git@gitee.com:csitian_admin_admin/step.git
csitian_admin_admin
step
华为云函数刷步数
master

搜索帮助