Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈峰
6 years ago
Commit
053623bf2fc63d201831c5d67ba7fbbd7fa10a51
1 parent
39d6c517
commit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
apps/utils/sign.js
apps/utils/sign.js
View file @
053623b
...
...
@@ -2,10 +2,12 @@ const ps = ['p', 'a', 'r', 'a', 'm', 's'];
const
ts
=
[
't'
,
's'
];
export
const
getParams
=
(
op
)
=>
{
if
(
!
op
[
ps
.
join
(
''
)])
{
op
[
ps
.
join
(
''
)]
=
{};
const
p
=
ps
.
join
(
''
);
if
(
!
op
[
p
])
{
op
[
p
]
=
{};
}
return
op
[
p
s
.
join
(
''
)
];
return
op
[
p
];
};
export
const
setTime
=
(
p
)
=>
{
p
[
ts
.
join
(
''
)]
=
Date
.
now
();
...
...
Please
register
or
login
to post a comment