在widgets目录新建weather目录创建WeatherWidget.php<?php namespacefrontend\widgets\weather; us
数据库安装安装之前先更新一下系统,执行yum update.执行 yum -y install mariadb*执行 systemctl start mariadb.service
1.CentOS 系统安装系统版本选择CentOS-7-x86_64-Minimal-1611.iso, 下载链接:http://mirrors.aliyun.com/centos
实现数组查询相同字段多次查询例如 status !=0 and status !=4;$where['status']=array(array('neq
根据地址获取经纬度 //根据地址获取经纬度接口 publicfunctionaddresstolatlag($address){ $url='http://ap