摘要: 官方手册 https://doc.thinkphp.cn/v8_0/setup.html 1.下载安装TP8 必须用composer安装, composer create-project topthink/think tp 要注意的是你的PHP版本必须>=8,才能正常安装,否则,你会下载成TP6的! 阅读全文
posted @ 2024-06-10 01:39 79524795 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 官方文档 https://cloud.tencent.com/document/product/266/31813 代码案例 // 你的 API 密钥 $secretId = 'AKIDmVK******PUTK8i4B4BSV'; $secretKey = 'If1A5m************* 阅读全文
posted @ 2024-06-29 16:03 79524795 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 地址 阅读全文
posted @ 2024-06-29 15:23 79524795 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阿里云百炼(BaiLian)是阿里云推出的一个基于机器学习和深度学习的AI训练平台,主要面向企业和开发者提供一站式的AI模型训练和部署服务。使用百炼平台,可以大幅度提高AI模型的开发效率。以下是如何使用阿里云百炼平台的基本步骤: 官方文档:https://help.aliyun.com/produc 阅读全文
posted @ 2024-06-27 03:41 79524795 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 直接上代码 uni.showActionSheet({ itemList: ['选项1', '选项2', '选项3'], success: function (res) { console.log('用户选择了:', res.tapIndex); }, fail: function (res) { 阅读全文
posted @ 2024-06-27 02:47 79524795 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 直接上代码 uni.setTabBarBadge({ index: 0, text: `${shuzi}` }); 阅读全文
posted @ 2024-06-21 20:30 79524795 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 在微信支付平台中申请的证书没有wechatpay_cert.pem 接下来就生成这个证书和 证书序列号 $certificates = $this->getWechatpayCertificates(); //拿到数据 if (!empty($certificates['data'])) { //解 阅读全文
posted @ 2024-06-18 22:27 79524795 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1.准备好公众号的appid和appsecret,以及IP白名单 2.php代码写入 public function login_wx() { $data = Db::name('config')->where('config_key','WECHAT_CONFIG')->find(); $valu 阅读全文
posted @ 2024-06-03 23:00 79524795 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 文件路径application/index/config.php 代码 <?php // 模块配置文件 return [ 'api_key' => '********************************', // 替换为你的实际 API 密钥 ]; 控制器中 调用 <?php names 阅读全文
posted @ 2024-05-24 02:25 79524795 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 教程嘿嘿 注册账号 登录账号 添加域名 选择平台的业务免费版 PRO版本 开启·流量·设置里面的Argo Smart Routing 速度 优化 图片优化 即可哦嘿嘿 阅读全文
posted @ 2024-05-18 17:07 79524795 阅读(4) 评论(0) 推荐(0) 编辑