Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
姜雷
wx-boss
Commits
eea65600
Commit
eea65600
authored
Dec 30, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理拉起支付参数
parent
0b375fde
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
PlatformFeeDialog.js
...m/pages/components/PlatformFeeDialog/PlatformFeeDialog.js
+3
-3
PlatformFeeDialog.ts
...m/pages/components/PlatformFeeDialog/PlatformFeeDialog.ts
+1
-1
No files found.
miniprogram/pages/components/PlatformFeeDialog/PlatformFeeDialog.js
View file @
eea65600
...
@@ -90,7 +90,7 @@ Component({
...
@@ -90,7 +90,7 @@ Component({
console
.
log
(
res
);
console
.
log
(
res
);
var
payInfo
=
res
.
payInfo
;
var
payInfo
=
res
.
payInfo
;
wx
.
requestPayment
({
wx
.
requestPayment
({
timeStamp
:
payInfo
.
timeStamp
,
timeStamp
:
payInfo
.
timeStamp
.
toString
()
,
nonceStr
:
payInfo
.
nonceStr
,
nonceStr
:
payInfo
.
nonceStr
,
package
:
payInfo
.
package
,
package
:
payInfo
.
package
,
signType
:
payInfo
.
signType
,
signType
:
payInfo
.
signType
,
...
@@ -244,4 +244,4 @@ Component({
...
@@ -244,4 +244,4 @@ Component({
},
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVEaWFsb2cuanMiLCJzb3VyY2VSb290Ij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biAgICAgIGNvbnNvbGUubG9nKCdpbiBmZXRjaFJlY2hhcmdlSW5mbycpO1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJycsXG4gICAgICB9KTtcbiAgICAgIHd4LmxvZ2luKHtcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICAgIGNvbnN0IGVudGl0eSA9IHtcbiAgICAgICAgICAgICAgYmlsbFR5cGU6IHRoaXMuZGF0YS5iaWxsVHlwZSxcbiAgICAgICAgICAgICAgaXNBZ3JlZTogMSxcbiAgICAgICAgICAgICAganNDb2RlOiByZXMuY29kZSxcbiAgICAgICAgICAgICAgb3BlcmF0ZUlkOiB0aGlzLmRhdGEudXNlckluZm8ub3BlcmF0ZUlkLFxuICAgICAgICAgICAgICBvcGVyYXRlTmFtZTogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVOYW1lLFxuICAgICAgICAgICAgICByZWNoYXJnZVR5cGU6ICcyJyxcbiAgICAgICAgICAgICAgdHlwZTogMixcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICBvcGVyYXRvckZldGNoKHtcbiAgICAgICAgICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2Uvb3JkZXIvZm9ybWluaScsXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgICBkYXRhOiBlbnRpdHksXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgY29uc3QgeyBwYXlJbmZvIH0gPSByZXM7XG4gICAgICAgICAgICAgICAgd3gucmVxdWVzdFBheW1lbnQoe1xuICAgICAgICAgICAgICAgICAgdGltZVN0YW1wOiBwYXlJbmZvLnRpbWVTdGFtcCxcbiAgICAgICAgICAgICAgICAgIG5vbmNlU3RyOiBwYXlJbmZvLm5vbmNlU3RyLFxuICAgICAgICAgICAgICAgICAgcGFja2FnZTogcGF5SW5mby5wYWNrYWdlLFxuICAgICAgICAgICAgICAgICAgc2lnblR5cGU6IHBheUluZm8uc2lnblR5cGUsXG4gICAgICAgICAgICAgICAgICBwYXlTaWduOiBwYXlJbmZvLnBheVNpZ24sXG4gICAgICAgICAgICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5pSv5LuY5oiQ5Yqf77yBJyxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgICAgICAgc2hvd0RpYWxvZzogZmFsc2UsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgIGZhaWwocmVzKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfmlK/ku5jlpLHotKXvvIEnLFxuICAgICAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICAgIHRpdGxlOiBlcnIubXNnIHx8ICfor7fmsYLlpLHotKUnLFxuICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgIHRpdGxlOiByZXMuZXJyTXNnIHx8ICfor7fmsYLlpLHotKUnLFxuICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIGZhaWwocmVzKSB7XG4gICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5lcnJNc2cgfHwgJ+ivt+axguWksei0pScsXG4gICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgfSk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIGdvUmVjb3Jkc1BhZ2UoKSB7XG4gICAgICB3eC5uYXZpZ2F0ZVRvKHtcbiAgICAgICAgdXJsOiAnL3BhZ2VzL3BsYXRmb3JtRmVlL3BsYXRmb3JtRmVlJyxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgdG9nZ2xlVHlwZSgpIHtcbiAgICAgIGxldCB0eXBlID0gdGhpcy5kYXRhLnR5cGU7XG4gICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICB0eXBlOiB0eXBlID09PSAxID8gMiA6IDEsXG4gICAgICB9KTtcbiAgICAgIGlmICh0eXBlID09PSAxKSB7XG4gICAgICAgIHRoaXMuZmV0Y2hSZWNoYXJnZU9yZGVyUVJjb2RlKCk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aW1lciAmJiBjbGVhckludGVydmFsKHRpbWVyKTtcbiAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICBjb3VudERvd246IDYwMCxcbiAgICAgICAgICBjb3VudERvd25TdHJpbmc6ICcnLFxuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9LFxuICAgIGNoZWNrQmlsbFR5cGUoZSkge1xuICAgICAgY29uc29sZS5sb2coZSk7XG4gICAgICBjb25zdCB7IHZhbHVlIH0gPSBlLmN1cnJlbnRUYXJnZXQuZGF0YXNldDtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIGJpbGxUeXBlOiB2YWx1ZSxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgZmV0Y2hSZWNoYXJnZU9yZGVyUVJjb2RlKCkge1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJycsXG4gICAgICB9KTtcbiAgICAgIHd4LmxvZ2luKHtcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICAgIGNvbnN0IGVudGl0eSA9IHtcbiAgICAgICAgICAgICAgYmlsbFR5cGU6IHRoaXMuZGF0YS5iaWxsVHlwZSxcbiAgICAgICAgICAgICAgaXNBZ3JlZTogMSxcbiAgICAgICAgICAgICAganNDb2RlOiAnc3RyaW5nJyxcbiAgICAgICAgICAgICAgb3BlcmF0ZUlkOiB0aGlzLmRhdGEudXNlckluZm8ub3BlcmF0ZUlkLFxuICAgICAgICAgICAgICBvcGVyYXRlTmFtZTogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVOYW1lLFxuICAgICAgICAgICAgICByZWNoYXJnZVR5cGU6ICcyJyxcbiAgICAgICAgICAgICAgdHlwZTogMixcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICBvcGVyYXRvckZldGNoKHtcbiAgICAgICAgICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2Uvb3JkZXIvZm9ybWluaScsXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgICBkYXRhOiBlbnRpdHksXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgY29uc3QgeyBwYXlRclVybCB9ID0gcmVzO1xuICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgICBwYXlRclVybCxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB0aW1lciA9IHNldEludGVydmFsKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgIGxldCBjb3VudCA9IHRoaXMuZGF0YS5jb3VudERvd247XG4gICAgICAgICAgICAgICAgICBpZiAoY291bnQgPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgY2xlYXJJbnRlcnZhbCh0aW1lcik7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICAgICAgICAgICAgcGF5UXJVcmw6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93bjogNjAwLFxuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93blN0cmluZzogJzDnp5InLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBuZXdDb3VudCA9IGNvdW50IC0gMTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGNvdW50U3RyaW5nID1cbiAgICAgICAgICAgICAgICAgICAgICBNYXRoLmZsb29yKG5ld0NvdW50IC8gNjApICsgJ+WIhicgKyAobmV3Q291bnQgJSA2MCkgKyAn56eSJztcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb3VudERvd246IG5ld0NvdW50LFxuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93blN0cmluZzogY291bnRTdHJpbmcsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0sIDEwMDApO1xuICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAuY2F0Y2goZXJyID0+IHtcbiAgICAgICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICB0aXRsZTogZXJyLm1zZyB8fCAn6K+35rGC5aSx6LSlJyxcbiAgICAgICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgIHRpdGxlOiByZXMuZXJyTXNnIHx8ICfor7fmsYLlpLHotKUnLFxuICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sXG4gICAgICAgIGZhaWwocmVzKSB7XG4gICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogcmVzLmVyck1zZyB8fCAn6K+35rGC5aSx6LSlJyxcbiAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSxcbiAgICAgIH0pO1xuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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U3RyaW5nOiAnMTDliIYwMOenkicsXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOaWueazleWIl+ihqFxuICAgKi9cbiAgbWV0aG9kczoge1xuICAgIGZldGNoUGxhdGZvcm1GZWUoKSB7XG4gICAgICBvcGVyYXRvckZldGNoKHtcbiAgICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2UvaW5pdGRhdGEnLFxuICAgICAgICBtZXRob2Q6ICdQT1NUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIG9wZXJhdGVJZDogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVJZCxcbiAgICAgICAgICBvcGVyYXRlTmFtZTogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVOYW1lLFxuICAgICAgICAgIHBvc2l0aW9uOiAzLFxuICAgICAgICAgIHR5cGU6IDIsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIGNvbnN0IHsgaXNTa2lwLCByZWNoYXJnZUJhbGFuY2UsIHBheVRpbWVMaW1pdCB9ID0gcmVzO1xuICAgICAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgICAgICBpc1NraXAsXG4gICAgICAgICAgICByZWNoYXJnZUJhbGFuY2UsXG4gICAgICAgICAgICBwYXlUaW1lTGltaXQsXG4gICAgICAgICAgICBzaG93RGlhbG9nOiByZWNoYXJnZUJhbGFuY2UgPiAwID8gdHJ1ZSA6IGZhbHNlLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIGZldGNoZWRQbGF0Zm9ybSA9IHRydWU7XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgIH0pO1xuICAgIH0sXG4gICAgY2FuY2VsU2hvdygpIHtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHNob3dEaWFsb2c6IGZhbHNlLFxuICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaFJlY2hhcmdlSW5mbygpIHtcbiAgICAgIGNvbnNvbGUubG9nKCdpbiBmZXRjaFJlY2hhcmdlSW5mbycpO1xuICAgICAgd3guc2hvd0xvYWRpbmcoe1xuICAgICAgICB0aXRsZTogJycsXG4gICAgICB9KTtcbiAgICAgIHd4LmxvZ2luKHtcbiAgICAgICAgc3VjY2VzczogcmVzID0+IHtcbiAgICAgICAgICBpZiAocmVzLmNvZGUpIHtcbiAgICAgICAgICAgIGNvbnN0IGVudGl0eSA9IHtcbiAgICAgICAgICAgICAgYmlsbFR5cGU6IHRoaXMuZGF0YS5iaWxsVHlwZSxcbiAgICAgICAgICAgICAgaXNBZ3JlZTogMSxcbiAgICAgICAgICAgICAganNDb2RlOiByZXMuY29kZSxcbiAgICAgICAgICAgICAgb3BlcmF0ZUlkOiB0aGlzLmRhdGEudXNlckluZm8ub3BlcmF0ZUlkLFxuICAgICAgICAgICAgICBvcGVyYXRlTmFtZTogdGhpcy5kYXRhLnVzZXJJbmZvLm9wZXJhdGVOYW1lLFxuICAgICAgICAgICAgICByZWNoYXJnZVR5cGU6ICcyJyxcbiAgICAgICAgICAgICAgdHlwZTogMixcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICBvcGVyYXRvckZldGNoKHtcbiAgICAgICAgICAgICAgdXJsOiAnL29wZXJhdGVCYWxhbmNlL3JlY2hhZ2Uvb3JkZXIvZm9ybWluaScsXG4gICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxuICAgICAgICAgICAgICBkYXRhOiBlbnRpdHksXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgY29uc3QgeyBwYXlJbmZvIH0gPSByZXM7XG4gICAgICAgICAgICAgICAgd3gucmVxdWVzdFBheW1lbnQoe1xuICAgICAgICAgICAgICAgICAgdGltZVN0YW1wOiBwYXlJbmZvLnRpbWVTdGFtcC50b1N0cmluZygpLFxuICAgICAgICAgICAgICAgICAgbm9uY2VTdHI6IHBheUluZm8ubm9uY2VTdHIsXG4gICAgICAgICAgICAgICAgICBwYWNrYWdlOiBwYXlJbmZvLnBhY2thZ2UsXG4gICAgICAgICAgICAgICAgICBzaWduVHlwZTogcGF5SW5mby5zaWduVHlwZSxcbiAgICAgICAgICAgICAgICAgIHBheVNpZ246IHBheUluZm8ucGF5U2lnbixcbiAgICAgICAgICAgICAgICAgIHN1Y2Nlc3M6IHJlcyA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gICAgICAgICAgICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfmlK/ku5jmiJDlip/vvIEnLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgICAgICAgICBzaG93RGlhbG9nOiBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgZmFpbChyZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzKTtcbiAgICAgICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+aUr+S7mOWksei0pe+8gScsXG4gICAgICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgICAgICAgdGl0bGU6IGVyci5tc2cgfHwgJ+ivt+axguWksei0pScsXG4gICAgICAgICAgICAgICAgICBpY29uOiAnbm9uZScsXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgdGl0bGU6IHJlcy5lcnJNc2cgfHwgJ+ivt+axguWksei0pScsXG4gICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgZmFpbChyZXMpIHtcbiAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogcmVzLmVyck1zZyB8fCAn6K+35rGC5aSx6LSlJyxcbiAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSxcbiAgICAgIH0pO1xuICAgIH0sXG4gICAgZ29SZWNvcmRzUGFnZSgpIHtcbiAgICAgIHd4Lm5hdmlnYXRlVG8oe1xuICAgICAgICB1cmw6ICcvcGFnZXMvcGxhdGZvcm1GZWUvcGxhdGZvcm1GZWUnLFxuICAgICAgfSk7XG4gICAgfSxcbiAgICB0b2dnbGVUeXBlKCkge1xuICAgICAgbGV0IHR5cGUgPSB0aGlzLmRhdGEudHlwZTtcbiAgICAgIHRoaXMuc2V0RGF0YSh7XG4gICAgICAgIHR5cGU6IHR5cGUgPT09IDEgPyAyIDogMSxcbiAgICAgIH0pO1xuICAgICAgaWYgKHR5cGUgPT09IDEpIHtcbiAgICAgICAgdGhpcy5mZXRjaFJlY2hhcmdlT3JkZXJRUmNvZGUoKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRpbWVyICYmIGNsZWFySW50ZXJ2YWwodGltZXIpO1xuICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgIGNvdW50RG93bjogNjAwLFxuICAgICAgICAgIGNvdW50RG93blN0cmluZzogJycsXG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH0sXG4gICAgY2hlY2tCaWxsVHlwZShlKSB7XG4gICAgICBjb25zb2xlLmxvZyhlKTtcbiAgICAgIGNvbnN0IHsgdmFsdWUgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgYmlsbFR5cGU6IHZhbHVlLFxuICAgICAgfSk7XG4gICAgfSxcbiAgICBmZXRjaFJlY2hhcmdlT3JkZXJRUmNvZGUoKSB7XG4gICAgICB3eC5zaG93TG9hZGluZyh7XG4gICAgICAgIHRpdGxlOiAnJyxcbiAgICAgIH0pO1xuICAgICAgd3gubG9naW4oe1xuICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICAgIGlmIChyZXMuY29kZSkge1xuICAgICAgICAgICAgY29uc3QgZW50aXR5ID0ge1xuICAgICAgICAgICAgICBiaWxsVHlwZTogdGhpcy5kYXRhLmJpbGxUeXBlLFxuICAgICAgICAgICAgICBpc0FncmVlOiAxLFxuICAgICAgICAgICAgICBqc0NvZGU6ICdzdHJpbmcnLFxuICAgICAgICAgICAgICBvcGVyYXRlSWQ6IHRoaXMuZGF0YS51c2VySW5mby5vcGVyYXRlSWQsXG4gICAgICAgICAgICAgIG9wZXJhdGVOYW1lOiB0aGlzLmRhdGEudXNlckluZm8ub3BlcmF0ZU5hbWUsXG4gICAgICAgICAgICAgIHJlY2hhcmdlVHlwZTogJzInLFxuICAgICAgICAgICAgICB0eXBlOiAyLFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIG9wZXJhdG9yRmV0Y2goe1xuICAgICAgICAgICAgICB1cmw6ICcvb3BlcmF0ZUJhbGFuY2UvcmVjaGFnZS9vcmRlci9mb3JtaW5pJyxcbiAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCcsXG4gICAgICAgICAgICAgIGRhdGE6IGVudGl0eSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC50aGVuKHJlcyA9PiB7XG4gICAgICAgICAgICAgICAgd3guaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgICBjb25zdCB7IHBheVFyVXJsIH0gPSByZXM7XG4gICAgICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgICAgIHBheVFyVXJsLFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIHRpbWVyID0gc2V0SW50ZXJ2YWwoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgbGV0IGNvdW50ID0gdGhpcy5kYXRhLmNvdW50RG93bjtcbiAgICAgICAgICAgICAgICAgIGlmIChjb3VudCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICBjbGVhckludGVydmFsKHRpbWVyKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgICAgICAgICAgICBwYXlRclVybDogJycsXG4gICAgICAgICAgICAgICAgICAgICAgY291bnREb3duOiA2MDAsXG4gICAgICAgICAgICAgICAgICAgICAgY291bnREb3duU3RyaW5nOiAnMOenkicsXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG5ld0NvdW50ID0gY291bnQgLSAxO1xuICAgICAgICAgICAgICAgICAgICBsZXQgY291bnRTdHJpbmcgPVxuICAgICAgICAgICAgICAgICAgICAgIE1hdGguZmxvb3IobmV3Q291bnQgLyA2MCkgKyAn5YiGJyArIChuZXdDb3VudCAlIDYwKSArICfnp5InO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnNldERhdGEoe1xuICAgICAgICAgICAgICAgICAgICAgIGNvdW50RG93bjogbmV3Q291bnQsXG4gICAgICAgICAgICAgICAgICAgICAgY291bnREb3duU3RyaW5nOiBjb3VudFN0cmluZyxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSwgMTAwMCk7XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIC5jYXRjaChlcnIgPT4ge1xuICAgICAgICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgICAgIHRpdGxlOiBlcnIubXNnIHx8ICfor7fmsYLlpLHotKUnLFxuICAgICAgICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgICAgdGl0bGU6IHJlcy5lcnJNc2cgfHwgJ+ivt+axguWksei0pScsXG4gICAgICAgICAgICAgIGljb246ICdub25lJyxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgZmFpbChyZXMpIHtcbiAgICAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAgICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiByZXMuZXJyTXNnIHx8ICfor7fmsYLlpLHotKUnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/PlatformFeeDialog/PlatformFeeDialog.ts
View file @
eea65600
...
@@ -100,7 +100,7 @@ Component({
...
@@ -100,7 +100,7 @@ Component({
console
.
log
(
res
);
console
.
log
(
res
);
const
{
payInfo
}
=
res
;
const
{
payInfo
}
=
res
;
wx
.
requestPayment
({
wx
.
requestPayment
({
timeStamp
:
payInfo
.
timeStamp
,
timeStamp
:
payInfo
.
timeStamp
.
toString
()
,
nonceStr
:
payInfo
.
nonceStr
,
nonceStr
:
payInfo
.
nonceStr
,
package
:
payInfo
.
package
,
package
:
payInfo
.
package
,
signType
:
payInfo
.
signType
,
signType
:
payInfo
.
signType
,
...
...
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