|
@@ -8,14 +8,14 @@
|
|
|
|
|
|
class ShiHuiController extends O2oBaseController {
|
|
|
//访问接口前进行签名验证
|
|
|
- /*public function beforeAction($action){
|
|
|
+ public function beforeAction($action){
|
|
|
if(isset($_GET['no_sign'])){
|
|
|
return true;
|
|
|
}else{
|
|
|
unset($_GET['no_sign']);
|
|
|
return $this->shiHuiCheckSign();
|
|
|
}
|
|
|
- }*/
|
|
|
+ }
|
|
|
// 获取服务时间接口
|
|
|
public function actionQueryTime(){
|
|
|
$latitude = Yii::app()->getRequest()->getParam("latitude"); //服务地址经纬度(火星坐标系)
|