摘要: # 安装composer 包 "paypal/rest-api-sdk-php": "^1.14", "paypal/paypal-checkout-sdk": "^1.0" use PayPal\Api\Amount; use PayPal\Api\Details; use PayPal\Api\ 阅读全文
posted @ 2024-08-07 08:50 丶XianGang 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 电子围栏 <!DOCTYPE html> <html> <style> #map { width: 760px; height: 400px; top: 10px; bottom: 0; } .search-button { display: inline-block; padding: 3px 阅读全文
posted @ 2024-07-25 13:44 丶XianGang 阅读(23) 评论(0) 推荐(0) 编辑
摘要: # 生成二维码并上传到阿里云OSS if (!function_exists('create_qrcode')){ function create_qrcode($url){ $filename = time().rand(100,999).'.png'; $path = 'uploads/qrco 阅读全文
posted @ 2024-04-28 15:50 丶XianGang 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 阿里云官方:https://help.aliyun.com/zh/pnp/product-overview/service-solutions?spm=a2c4g.11186623.0.0.ad5c797dWsLO3v 接口文档:https://help.aliyun.com/zh/pnp/deve 阅读全文
posted @ 2024-04-19 17:28 丶XianGang 阅读(93) 评论(0) 推荐(0) 编辑
摘要: # 通过 composer 安装 阿里云SDK "alibabacloud/dypnsapi-20170525": "^1.1.2", "alibabacloud/darabonba-openapi": "^0.2.10", "alibabacloud/tea-console": "^0.1.0", 阅读全文
posted @ 2024-04-19 17:03 丶XianGang 阅读(137) 评论(0) 推荐(0) 编辑
摘要: public function getCode() { $access_token = $this->getAccessToken(); $width = 430; //二维码宽度 $page = 'pages/index/index';//小程序路径(pages/index/index) $sce 阅读全文
posted @ 2024-04-16 09:56 丶XianGang 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # 通过 composer 安装 workerman "workerman/workerman": "^4.1", "workerman/gatewayclient": "^3.0", "workerman/gateway-worker": "^3.1", # api 新建文件 workerman 阅读全文
posted @ 2024-04-07 17:34 丶XianGang 阅读(35) 评论(0) 推荐(0) 编辑
摘要: vivo文档:https://open-ad.vivo.com.cn/doc/index?id=217 public function vivo(){ $accessToken = $this->request->param('accessToken'); $srcId = $this->reque 阅读全文
posted @ 2024-02-29 19:08 丶XianGang 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.引入unipush包 composer require getuilaboratory/getui-pushapi-php-client-v2 如果报错 composer require getuilaboratory/getui-pushapi-php-client-v2 dev-master 阅读全文
posted @ 2024-02-26 18:10 丶XianGang 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1.登录公众号,新建消息推送模版 2.打开微信官方文档 ->找到模版消息接口 https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html 3. 代码 <?php 阅读全文
posted @ 2023-10-30 09:14 丶XianGang 阅读(173) 评论(0) 推荐(0) 编辑