Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-front
Commits
e8a373c7
Commit
e8a373c7
authored
Jun 23, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixed
parent
0e66f00b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
app.js
app.js
+0
-1
alipayLogger.js
utils/alipayLogger.js
+1
-15
No files found.
app.js
View file @
e8a373c7
...
...
@@ -138,7 +138,6 @@ App(monitor.hookApp({
onError
(
err
)
{
monitor
.
error
(
err
)
fundebug
.
onError
(
err
);
},
...
...
utils/alipayLogger.js
View file @
e8a373c7
...
...
@@ -184,7 +184,6 @@ var SEQUENCE = Date.now(),
},
util_1
=
util
,
pushToQueue
=
function
(
e
,
t
)
{
// debugger;
var
i
;
{
if
(
"error"
!==
t
.
t
||
!
(
i
=
e
.
requestQueue
[
0
])
||
"error"
!==
i
.
t
||
t
.
msg
!==
i
.
msg
)
{
...
...
@@ -396,7 +395,6 @@ Reporter.prototype = util_1.createObject(base.prototype), util_1.ext(base.dftCon
msg
:
a
,
begin
:
s
}
:
util
.
sub
(
e
,
validApiKeys
);
if
(
e
.
code
=
e
.
code
||
""
,
e
.
msg
=
e
.
msg
||
""
,
e
.
success
=
e
.
success
?
1
:
0
,
e
.
time
=
+
e
.
time
,
e
.
begin
=
e
.
begin
||
""
,
!
e
.
api
||
isNaN
(
e
.
time
))
{
return
util
.
warn
(
"[cloudMonitor] invalid time or api"
),
this
}
...
...
@@ -550,7 +548,6 @@ MiniProgramLogger.prototype = util.createObject(Reporter.prototype), util.ext(Re
return
{
code
:
c
,
msg
:
u
,
response
:
util
.
pick
(
10000
)
?
JSON
.
stringify
(
e
).
substr
(
0
,
256
)
:
""
};
}
...
...
@@ -753,18 +750,12 @@ AlipayLogger.prototype = util.createObject(MiniProgramLogger.prototype), util.ex
u
=
e
.
parseResponse
(
t
.
data
);
f
&&
(
u
=
util
.
ext
(
u
,
util
.
safetyCall
(
f
,
[
i
.
data
,
t
.
data
],
{})));
}
u
.
msg
=
JSON
.
stringify
({
msg
:
u
.
msg
,
request
:
i
.
data
,
response
:
t
.
data
});
e
.
api
(
util
.
ext
({
api
:
o
,
success
:
!
0
,
time
:
s
-
a
,
code
:
""
,
hzhData
:
t
.
data
,
msg
:
u
.
msg
||
''
,
msg
:
""
,
response
:
""
},
u
))
},
fail
:
function
(
t
)
{
...
...
@@ -775,11 +766,6 @@ AlipayLogger.prototype = util.createObject(MiniProgramLogger.prototype), util.ex
n
==
""
&&
t
.
error
&&
(
n
=
t
.
error
);
var
u
=
""
,
r
=
f
?
util
.
safetyCall
(
f
,
[
i
.
data
],
{})
:
{};
u
.
msg
=
JSON
.
stringify
({
msg
:
u
.
msg
,
request
:
i
.
data
,
response
:
t
.
data
});
t
&&
t
.
body
&&
(
u
=
(
u
=
JSON
.
stringify
(
t
.
body
)).
substring
(
0
,
256
)),
e
.
api
(
util
.
ext
({
api
:
o
,
success
:
!
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment