Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
55cc5f88e35648a7d4b001183ee2fa37a040ecc0
1 parent
5334e198
code review by fei.hong : do add app api Rn.php
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
yohobuy/m.yohobuy.com/application/controllers/Rn.php
yohobuy/m.yohobuy.com/application/controllers/Rn.php
View file @
55cc5f8
<?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
);
}
}
...
...
Please
register
or
login
to post a comment