Commit a5f8a3c07e9a415d3ea7ee76f578c877d1d1253c
1 parent
9b0c2bed
静默授权
Showing
3 changed files
with
28 additions
and
28 deletions
dist.zip
No preview for this file type
package-lock.json
... | ... | @@ -1973,7 +1973,7 @@ |
1973 | 1973 | }, |
1974 | 1974 | "console-control-strings": { |
1975 | 1975 | "version": "1.1.0", |
1976 | - "resolved": "http://registry.npm.taobao.org/console-control-strings/download/console-control-strings-1.1.0.tgz", | |
1976 | + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", | |
1977 | 1977 | "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" |
1978 | 1978 | }, |
1979 | 1979 | "consolidate": { |
... | ... | @@ -2970,7 +2970,7 @@ |
2970 | 2970 | }, |
2971 | 2971 | "dashdash": { |
2972 | 2972 | "version": "1.14.1", |
2973 | - "resolved": "https://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz", | |
2973 | + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", | |
2974 | 2974 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", |
2975 | 2975 | "requires": { |
2976 | 2976 | "assert-plus": "^1.0.0" |
... | ... | @@ -3116,12 +3116,12 @@ |
3116 | 3116 | }, |
3117 | 3117 | "delayed-stream": { |
3118 | 3118 | "version": "1.0.0", |
3119 | - "resolved": "http://registry.npm.taobao.org/delayed-stream/download/delayed-stream-1.0.0.tgz", | |
3119 | + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", | |
3120 | 3120 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" |
3121 | 3121 | }, |
3122 | 3122 | "delegates": { |
3123 | 3123 | "version": "1.0.0", |
3124 | - "resolved": "http://registry.npm.taobao.org/delegates/download/delegates-1.0.0.tgz", | |
3124 | + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", | |
3125 | 3125 | "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" |
3126 | 3126 | }, |
3127 | 3127 | "depd": { |
... | ... | @@ -3301,7 +3301,7 @@ |
3301 | 3301 | }, |
3302 | 3302 | "ecc-jsbn": { |
3303 | 3303 | "version": "0.1.2", |
3304 | - "resolved": "http://registry.npm.taobao.org/ecc-jsbn/download/ecc-jsbn-0.1.2.tgz", | |
3304 | + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", | |
3305 | 3305 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", |
3306 | 3306 | "requires": { |
3307 | 3307 | "jsbn": "~0.1.0", |
... | ... | @@ -3872,7 +3872,7 @@ |
3872 | 3872 | }, |
3873 | 3873 | "extsprintf": { |
3874 | 3874 | "version": "1.3.0", |
3875 | - "resolved": "http://registry.npm.taobao.org/extsprintf/download/extsprintf-1.3.0.tgz", | |
3875 | + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", | |
3876 | 3876 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" |
3877 | 3877 | }, |
3878 | 3878 | "fast-deep-equal": { |
... | ... | @@ -4028,7 +4028,7 @@ |
4028 | 4028 | }, |
4029 | 4029 | "forever-agent": { |
4030 | 4030 | "version": "0.6.1", |
4031 | - "resolved": "http://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz", | |
4031 | + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", | |
4032 | 4032 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" |
4033 | 4033 | }, |
4034 | 4034 | "form-data": { |
... | ... | @@ -4152,7 +4152,7 @@ |
4152 | 4152 | }, |
4153 | 4153 | "gauge": { |
4154 | 4154 | "version": "2.7.4", |
4155 | - "resolved": "https://registry.nlark.com/gauge/download/gauge-2.7.4.tgz?cache=0&sync_timestamp=1627307658793&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fgauge%2Fdownload%2Fgauge-2.7.4.tgz", | |
4155 | + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", | |
4156 | 4156 | "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", |
4157 | 4157 | "requires": { |
4158 | 4158 | "aproba": "^1.0.3", |
... | ... | @@ -4167,7 +4167,7 @@ |
4167 | 4167 | "dependencies": { |
4168 | 4168 | "is-fullwidth-code-point": { |
4169 | 4169 | "version": "1.0.0", |
4170 | - "resolved": "https://registry.nlark.com/is-fullwidth-code-point/download/is-fullwidth-code-point-1.0.0.tgz", | |
4170 | + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", | |
4171 | 4171 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", |
4172 | 4172 | "requires": { |
4173 | 4173 | "number-is-nan": "^1.0.0" |
... | ... | @@ -4175,7 +4175,7 @@ |
4175 | 4175 | }, |
4176 | 4176 | "string-width": { |
4177 | 4177 | "version": "1.0.2", |
4178 | - "resolved": "https://registry.nlark.com/string-width/download/string-width-1.0.2.tgz", | |
4178 | + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", | |
4179 | 4179 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", |
4180 | 4180 | "requires": { |
4181 | 4181 | "code-point-at": "^1.0.0", |
... | ... | @@ -4229,7 +4229,7 @@ |
4229 | 4229 | }, |
4230 | 4230 | "getpass": { |
4231 | 4231 | "version": "0.1.7", |
4232 | - "resolved": "http://registry.npm.taobao.org/getpass/download/getpass-0.1.7.tgz", | |
4232 | + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", | |
4233 | 4233 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", |
4234 | 4234 | "requires": { |
4235 | 4235 | "assert-plus": "^1.0.0" |
... | ... | @@ -4317,7 +4317,7 @@ |
4317 | 4317 | }, |
4318 | 4318 | "har-schema": { |
4319 | 4319 | "version": "2.0.0", |
4320 | - "resolved": "http://registry.npm.taobao.org/har-schema/download/har-schema-2.0.0.tgz", | |
4320 | + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", | |
4321 | 4321 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" |
4322 | 4322 | }, |
4323 | 4323 | "har-validator": { |
... | ... | @@ -4381,7 +4381,7 @@ |
4381 | 4381 | }, |
4382 | 4382 | "has-unicode": { |
4383 | 4383 | "version": "2.0.1", |
4384 | - "resolved": "http://registry.npm.taobao.org/has-unicode/download/has-unicode-2.0.1.tgz", | |
4384 | + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", | |
4385 | 4385 | "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" |
4386 | 4386 | }, |
4387 | 4387 | "has-value": { |
... | ... | @@ -4702,7 +4702,7 @@ |
4702 | 4702 | }, |
4703 | 4703 | "http-signature": { |
4704 | 4704 | "version": "1.2.0", |
4705 | - "resolved": "https://registry.nlark.com/http-signature/download/http-signature-1.2.0.tgz", | |
4705 | + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", | |
4706 | 4706 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", |
4707 | 4707 | "requires": { |
4708 | 4708 | "assert-plus": "^1.0.0", |
... | ... | @@ -5122,7 +5122,7 @@ |
5122 | 5122 | }, |
5123 | 5123 | "is-typedarray": { |
5124 | 5124 | "version": "1.0.0", |
5125 | - "resolved": "http://registry.npm.taobao.org/is-typedarray/download/is-typedarray-1.0.0.tgz", | |
5125 | + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", | |
5126 | 5126 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
5127 | 5127 | }, |
5128 | 5128 | "is-utf8": { |
... | ... | @@ -5159,7 +5159,7 @@ |
5159 | 5159 | }, |
5160 | 5160 | "isstream": { |
5161 | 5161 | "version": "0.1.2", |
5162 | - "resolved": "http://registry.npm.taobao.org/isstream/download/isstream-0.1.2.tgz", | |
5162 | + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", | |
5163 | 5163 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" |
5164 | 5164 | }, |
5165 | 5165 | "js-base64": { |
... | ... | @@ -5185,7 +5185,7 @@ |
5185 | 5185 | }, |
5186 | 5186 | "jsbn": { |
5187 | 5187 | "version": "0.1.1", |
5188 | - "resolved": "http://registry.npm.taobao.org/jsbn/download/jsbn-0.1.1.tgz", | |
5188 | + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", | |
5189 | 5189 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" |
5190 | 5190 | }, |
5191 | 5191 | "jsesc": { |
... | ... | @@ -5219,7 +5219,7 @@ |
5219 | 5219 | }, |
5220 | 5220 | "json-stringify-safe": { |
5221 | 5221 | "version": "5.0.1", |
5222 | - "resolved": "http://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz", | |
5222 | + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", | |
5223 | 5223 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" |
5224 | 5224 | }, |
5225 | 5225 | "json3": { |
... | ... | @@ -6091,7 +6091,7 @@ |
6091 | 6091 | }, |
6092 | 6092 | "nopt": { |
6093 | 6093 | "version": "3.0.6", |
6094 | - "resolved": "https://registry.nlark.com/nopt/download/nopt-3.0.6.tgz", | |
6094 | + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", | |
6095 | 6095 | "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", |
6096 | 6096 | "requires": { |
6097 | 6097 | "abbrev": "1" |
... | ... | @@ -6121,7 +6121,7 @@ |
6121 | 6121 | }, |
6122 | 6122 | "normalize-wheel": { |
6123 | 6123 | "version": "1.0.1", |
6124 | - "resolved": "http://registry.npm.taobao.org/normalize-wheel/download/normalize-wheel-1.0.1.tgz", | |
6124 | + "resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz", | |
6125 | 6125 | "integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU=" |
6126 | 6126 | }, |
6127 | 6127 | "npm-run-path": { |
... | ... | @@ -6591,7 +6591,7 @@ |
6591 | 6591 | }, |
6592 | 6592 | "performance-now": { |
6593 | 6593 | "version": "2.1.0", |
6594 | - "resolved": "http://registry.npm.taobao.org/performance-now/download/performance-now-2.1.0.tgz", | |
6594 | + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", | |
6595 | 6595 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" |
6596 | 6596 | }, |
6597 | 6597 | "picomatch": { |
... | ... | @@ -7379,7 +7379,7 @@ |
7379 | 7379 | }, |
7380 | 7380 | "raf.js": { |
7381 | 7381 | "version": "0.0.4", |
7382 | - "resolved": "https://registry.npm.taobao.org/raf.js/download/raf.js-0.0.4.tgz", | |
7382 | + "resolved": "https://registry.npmjs.org/raf.js/-/raf.js-0.0.4.tgz", | |
7383 | 7383 | "integrity": "sha1-8Vr0RdJBsn+nExpXRQtn75xAL+w=" |
7384 | 7384 | }, |
7385 | 7385 | "randombytes": { |
... | ... | @@ -8009,7 +8009,7 @@ |
8009 | 8009 | }, |
8010 | 8010 | "scss-tokenizer": { |
8011 | 8011 | "version": "0.2.3", |
8012 | - "resolved": "https://registry.npm.taobao.org/scss-tokenizer/download/scss-tokenizer-0.2.3.tgz", | |
8012 | + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", | |
8013 | 8013 | "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", |
8014 | 8014 | "requires": { |
8015 | 8015 | "js-base64": "^2.1.8", |
... | ... | @@ -8023,7 +8023,7 @@ |
8023 | 8023 | }, |
8024 | 8024 | "source-map": { |
8025 | 8025 | "version": "0.4.4", |
8026 | - "resolved": "http://registry.npm.taobao.org/source-map/download/source-map-0.4.4.tgz", | |
8026 | + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", | |
8027 | 8027 | "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", |
8028 | 8028 | "requires": { |
8029 | 8029 | "amdefine": ">=0.0.4" |
... | ... | @@ -8986,7 +8986,7 @@ |
8986 | 8986 | }, |
8987 | 8987 | "tunnel-agent": { |
8988 | 8988 | "version": "0.6.0", |
8989 | - "resolved": "http://registry.npm.taobao.org/tunnel-agent/download/tunnel-agent-0.6.0.tgz", | |
8989 | + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", | |
8990 | 8990 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", |
8991 | 8991 | "requires": { |
8992 | 8992 | "safe-buffer": "^5.0.1" |
... | ... | @@ -8994,7 +8994,7 @@ |
8994 | 8994 | }, |
8995 | 8995 | "tweetnacl": { |
8996 | 8996 | "version": "0.14.5", |
8997 | - "resolved": "https://registry.npm.taobao.org/tweetnacl/download/tweetnacl-0.14.5.tgz", | |
8997 | + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", | |
8998 | 8998 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" |
8999 | 8999 | }, |
9000 | 9000 | "type": { |
... | ... | @@ -9378,7 +9378,7 @@ |
9378 | 9378 | }, |
9379 | 9379 | "verror": { |
9380 | 9380 | "version": "1.10.0", |
9381 | - "resolved": "http://registry.npm.taobao.org/verror/download/verror-1.10.0.tgz", | |
9381 | + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", | |
9382 | 9382 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", |
9383 | 9383 | "requires": { |
9384 | 9384 | "assert-plus": "^1.0.0", | ... | ... |
src/components/orderPay.vue
... | ... | @@ -96,7 +96,7 @@ export default { |
96 | 96 | var code = this.getUrlParam('code'); |
97 | 97 | var local = window.location.href; |
98 | 98 | if (code == null || code === '') { |
99 | - window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + appID + '&redirect_uri=' + encodeURIComponent(local) + '&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect' | |
99 | + window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + appID + '&redirect_uri=' + encodeURIComponent(local) + '&response_type=code&scope=snsapi_base&state=1#wechat_redirect' | |
100 | 100 | } else { |
101 | 101 | return code; |
102 | 102 | } | ... | ... |