- 博客(3)
- 资源 (8)
- 收藏
- 关注
原创 mysql、 php 根据经纬度计算距离
mysql 有个RADIANS 函数 等价于 php里面的deg2rad 函数php:if (!function_exists('get_distance')) { //from ='39.983171,116.308479' function get_distance($from,$to) { $from_arr=explode(',', ...
2018-09-07 17:38:05 745
转载 CentOS 7 解决编译安装 Python 3.7 时 ModuleNotFoundError: No module named '_ctypes'
CentOS 7 系统上使用源码编译安装 Python 3.7 时可能会提示如下错误:复制ModuleNotFoundError: No module named '_ctypes'1、CentOS 7 编译安装 Python 3.7 错误原因Python3 中有个内置模块叫 ctypes,它是 Python3 的外部函数库模块,它提供兼容 C 语言的数据类型,并通过它调...
2018-09-05 17:05:23 2179
原创 ThinkPHP5框架where如何实现or查询
ThinkPHP5框架where 内部实现 精选or 条件拼接,一直没有找到合适的方法,不像tp3版本可以使用采用以下方法:$map['user_id'] = 1;$map['status'] = 0;$or_map['user_id'] = 1;$or_map['audit']=['in',['1,2']];$where_main['_complex'] = array( ...
2018-09-04 14:56:22 11622
elasticsearch-analysis-ik-7.7.0.zip
2020-06-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人