Commit 2c8598a8 authored by 郭志伟's avatar 郭志伟

Merge branch 'feature/addwxFile' into 'master'

feat(wx): 添加矩阵文件

See merge request !38
parents 301fc277 52509074
import { EggAppConfig } from 'egg';
import * as fs from 'fs';
import * as path from 'path';
import wxVertify from './wxVertify';
export default (appInfo: EggAppConfig) => {
const config: any = {};
config.siteFile = {
'/favicon.ico': fs.readFileSync(path.join(appInfo.baseDir, 'app/web/asset/images/favicon.ico')),
'/FZz8NUb3x0.txt': fs.readFileSync(path.join(appInfo.baseDir, 'app/web/asset/FZz8NUb3x0.txt')),
'/Ra6UCOeIhV.txt': fs.readFileSync(path.join(appInfo.baseDir, 'app/web/asset/Ra6UCOeIhV.txt'))
};
const siteFile = wxVertify;
siteFile['/favicon.ico'] = fs.readFileSync(path.join(appInfo.baseDir, 'app/web/asset/images/favicon.ico'));
config.siteFile = siteFile;
config.view = {
cache: false
......
import * as fs from 'fs';
import * as path from 'path';
export default {
'/FZz8NUb3x0.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/FZz8NUb3x0.txt')),
'/Ra6UCOeIhV.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/Ra6UCOeIhV.txt')),
'/2OqnbvHjoq.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/2OqnbvHjoq.txt')),
'/9HFuiOJ4BG.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/9HFuiOJ4BG.txt')),
'/bAgsGUG45y.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/bAgsGUG45y.txt')),
'/c8PA5Gybed.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/c8PA5Gybed.txt')),
'/J5QboPVm8N.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/J5QboPVm8N.txt')),
'/Jb5PMgT5lb.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/Jb5PMgT5lb.txt')),
'/NqUTl0J6Ed.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/NqUTl0J6Ed.txt')),
'/qsBZfgOk4y.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/qsBZfgOk4y.txt')),
'/tPICMyeJfv.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/tPICMyeJfv.txt')),
'/UBRJar2pST.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/UBRJar2pST.txt')),
'/yB3tnMTnRc.txt': fs.readFileSync(path.join(__dirname, '/wxVertify/yB3tnMTnRc.txt')),
};
90e68e2c196781968dba89bd5e6ac182
\ No newline at end of file
97efde44dc917901a8ca25a0feb54ad8
\ No newline at end of file
8fb57cfb856841b9d877e61df0729232
\ No newline at end of file
59297e3b609ad1c26e5b334fa56af181
\ No newline at end of file
cbc525fd71a2beb519d349084dece8da
\ No newline at end of file
3c6152f098bc4e3edad5b36f550cd268
\ No newline at end of file
25638138b18af91b2dd64db906b056a4
\ No newline at end of file
03f5c047a87a73854381c1d19c50fd68
\ No newline at end of file
8a154639c8af235d06e4b291463fb7a0
\ No newline at end of file
11f2efef0527b792380784ea1b4a4b65
\ No newline at end of file
5c9d1a08b3bda49beb0f950b1cdec27b
\ No newline at end of file
......@@ -1658,9 +1658,9 @@
}
},
"@qg/citrus-ui": {
"version": "0.2.26",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.2.26.tgz",
"integrity": "sha512-34HkijsfhVLkcVE9+xfyc8DiEx/K79/ZQPOSr+dwwY8fZIEjpO812GGG1gu2PNjsoU3vJZqwHbHmBHTmMNxuZA==",
"version": "0.2.27",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.2.27.tgz",
"integrity": "sha512-RQWArNw0AVF/am50n0heECgqtFxeeG2wvYzwZSmWf0zRwOpqyad32lnFp32pgUgVZfLkNuOVW7klJzbKYMFPKA==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.21.1",
......@@ -2993,11 +2993,11 @@
"dev": true
},
"axios": {
"version": "0.21.1",
"resolved": "http://npmprivate.quantgroups.com/axios/-/axios-0.21.1.tgz",
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==",
"version": "0.21.4",
"resolved": "http://npmprivate.quantgroups.com/axios/-/axios-0.21.4.tgz",
"integrity": "sha1-xnuQ3AVo5cHPKwuFjEO6KOLtpXU=",
"requires": {
"follow-redirects": "^1.10.0"
"follow-redirects": "^1.14.0"
}
},
"axobject-query": {
......@@ -20930,9 +20930,9 @@
}
},
"sa-sdk-javascript": {
"version": "1.18.14",
"resolved": "http://npmprivate.quantgroups.com/sa-sdk-javascript/-/sa-sdk-javascript-1.18.14.tgz",
"integrity": "sha1-hYrlgKNIbVJGe0lD4Ec+1Cudhtw="
"version": "1.18.17",
"resolved": "http://npmprivate.quantgroups.com/sa-sdk-javascript/-/sa-sdk-javascript-1.18.17.tgz",
"integrity": "sha1-mLW7PyfL2jmwcCTb3G/Bes6H0n8="
},
"safe-buffer": {
"version": "5.2.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment