分类: 代码

7 篇文章

git cherry-pick 拉取另一个远程分支的某一个提交
参考来源: https://blog.csdn.net/qq_35432904/article/details/107232691 关联远端仓库 $ git remote add target git://gitUrl 然后,将远程代码抓取到本地 $ git fetch target 获取远端仓库的master分支的提交日志 $ git log t…
钉钉机器人-简单处理类
钉钉机器人消息推送类,实现有用户反馈内容实时推送, 目前只封装了文本类消息, 正式使用构造方法options需改造一下,传入参数 $options = [ 'ding_webhook'=>'',//机器人地址 ]; <?php namespace app\common\library; use GuzzleHttp\Client; u…
vue实现圆盘摇杆代码
<template> <view style="position: relative;"> <view ref="toucharea" id="toucharea" class='toucharea' @touchstart="onTouchStart" @touchmove="onTouchMove" @touchcancel=…
openlayers构建离线地图
参考文档 http://linwei.xyz/ol3-primer/ch05/05-03.html http://openlayers.vip/examples/line-arrows.html 项目需要使用内网环境,故无法使用百度地图等在线地图.采用openlayers实现构建离线地图 通过shp加载shp矢量地图文件 <template>…
Websocket封装类
/** * websocket处理封装 */ class WebSocketClass { /** * websocket 连接句柄 * @var Websocket */ ws = null /** * 服务器地址 * @var */ serverUrl /** * 心跳配置 * @var object */ heartbeat = { open…