Authored by hf

code review by fei.hong : do add app api Rn.php

<?php
use Action\AbstractAction;
/**
* Created by PhpStorm.
* User: Leo
* Date: 16/2/17
* Time: 上午11:48
*/
class RnController extends AbstractAction
{
const PRIVATE_KEY = 'fd4ad5fcsa0de589af23234ks1923ks';
const PRIVATE_KEY = 'fd4ad5fcsa0de589af23234ks1923ks';
/**
* V1版本
... ... @@ -46,9 +44,8 @@ class RnController extends AbstractAction
*/
public function v1Action()
{
$result = array('code' => 200, 'message' => 'Config Success', 'md5' => '', 'data' => array());
s
// 根据版本号返回补丁文件信息
$version = $this->post('app_version');
switch ($version) {
... ... @@ -68,9 +65,6 @@ s
}
$this->echoJson($result);
}
}
... ...