会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
iXIanGang
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2024年4月7日
php 连接 workerman 服务推送
摘要: # 通过 composer 安装 workerman "workerman/workerman": "^4.1", "workerman/gatewayclient": "^3.0", "workerman/gateway-worker": "^3.1", # api 新建文件 workerman
阅读全文
posted @ 2024-04-07 17:34 丶Gang
阅读(234)
评论(0)
推荐(0)
2024年2月29日
php 对接vivo 用户行为数据上传接口
摘要: 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 丶Gang
阅读(82)
评论(0)
推荐(0)
2024年2月26日
uniPush+Im环信消息+php(tp5)后端在线离线消息推送手机
摘要: 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 丶Gang
阅读(212)
评论(0)
推荐(0)
2023年10月30日
php , laravel 小程序信息推送到公众号消息模版
摘要: 1.登录公众号,新建消息推送模版 2.打开微信官方文档 ->找到模版消息接口 https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html 3. 代码 <?php
阅读全文
posted @ 2023-10-30 09:14 丶Gang
阅读(419)
评论(0)
推荐(0)
2023年4月18日
java8 BigDecimal 除法保留三位小数
摘要: // 舍去小数三位后的数,四舍五入 BigDecimal a = new BigDecimal("9"); BigDecimal b = new BigDecimal("15"); //舍去小数三位后的数 BigDecimal c = b.divide(a, 3, RoundingMode.HALF
阅读全文
posted @ 2023-04-18 17:26 丶Gang
阅读(1294)
评论(0)
推荐(0)
2023年4月3日
json 数据 转 java 对象
摘要: String json = "[{"id": "1","name": "zhangsan"}, {"id": "2","name": "lisi"}, {"id": "3","name": "wangwu"}]"; //json字符串 转 json 数组 JSONArray jsonarrr = J
阅读全文
posted @ 2023-04-03 10:43 丶Gang
阅读(156)
评论(0)
推荐(0)
2023年3月8日
JAVA (Spring Boot) 时间戳转时间
摘要: /** * 将时间戳转换为时间 * @param s 时间戳 * @param t 时间 * @return */ public static String stampToDate(int s,String t){ String res; SimpleDateFormat simpleDateFor
阅读全文
posted @ 2023-03-08 15:16 丶Gang
阅读(350)
评论(0)
推荐(0)
JAVA (Spring Boot)数据AES加密解密
摘要: /** * AES 加密 * @param sSrc * @return * @throws Exception */ public static String Encrypt(String sSrc) throws Exception { if (sSrc == null) { return nu
阅读全文
posted @ 2023-03-08 15:10 丶Gang
阅读(463)
评论(0)
推荐(0)
php 调用中国移动第三方短信接口
摘要: <?php header("Content-type:text/html; charset=UTF-8"); /** * Class SendApi */ class SendApi { const API_SEND_URL='http://112.35.1.155:1992/sms/norsubm
阅读全文
posted @ 2023-03-08 14:58 丶Gang
阅读(183)
评论(0)
推荐(0)
2023年2月24日
php 导入excel 表格里时间 进行处理
摘要: /** * [excelTime description] * @Author:XuXianGang * @Method:excel 转换时间 * @DateTime:2022-06-06T09:36:37+0800 * @param [type] $days [description] * @pa
阅读全文
posted @ 2023-02-24 09:21 丶Gang
阅读(132)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告