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
dc8aad389fe865d1dfb056b32cb295eac7a36de4
1 parent
dba57b26
code review by fei.hong: do modify app hotfix api patch
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
yohobuy/m.yohobuy.com/application/controllers/Hf.php
yohobuy/m.yohobuy.com/application/controllers/Hf.php
View file @
dc8aad3
...
...
@@ -51,9 +51,9 @@ class HfController extends AbstractAction
$version
=
$this
->
post
(
'app_version'
);
switch
(
$version
)
{
case
'4.0.1'
:
// 版本
$result
[
'data'
][
'url'
]
=
'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-
2
.js'
;
$result
[
'data'
][
'url'
]
=
'http://cdn.yoho.cn/app-hotfix/yohobuy/4.0.1/main-
3
.js'
;
$result
[
'data'
][
'patchv'
]
=
'103'
;
$result
[
'data'
][
'filecode'
]
=
md5
(
'
0cef321b300df2f3b81de03a57b93433
'
.
'yohopatch2016'
);
$result
[
'data'
][
'filecode'
]
=
md5
(
'
8e28e7b0c69e803b28b61e2e373ae162
'
.
'yohopatch2016'
);
$result
[
'md5'
]
=
md5
(
self
::
PRIVATE_KEY
.
':'
.
json_encode
(
$result
[
'data'
]));
break
;
case
'4.0.0'
:
// 版本
...
...
Please
register
or
login
to post a comment