测试微信支付

This commit is contained in:
ap 2021-03-09 00:56:30 +08:00
parent 7c536806bf
commit 04ab0562e1
4 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ run/
src/app/public/uploads/
typings/
.cache
.serverless/

View File

@ -14,11 +14,11 @@
"jsonwebtoken": "^8.5.1",
"md5": "^2.3.0",
"midwayjs-cool-alipay": "^1.0.1",
"midwayjs-cool-core": "^3.0.15",
"midwayjs-cool-core": "^3.0.16",
"midwayjs-cool-oss": "^1.0.10",
"midwayjs-cool-queue": "^1.0.3",
"midwayjs-cool-redis": "^1.0.6",
"midwayjs-cool-wxpay": "^1.0.5",
"midwayjs-cool-wxpay": "^1.0.7",
"mysql2": "^2.2.5",
"svg-captcha": "^1.4.0",
"svg-to-dataurl": "^1.0.0"
@ -27,6 +27,7 @@
"@midwayjs/cli": "^1.2.41",
"@midwayjs/cli-plugin-faas": "^1.2.49",
"@midwayjs/egg-ts-helper": "^1.0.5",
"@midwayjs/fcli-plugin-fc": "^1.2.49",
"@midwayjs/luckyeye": "^1.0.2",
"@midwayjs/mock": "^2.7.7",
"@types/jest": "^26.0.20",

View File

@ -44,6 +44,4 @@ export class BaseSysMenuEntity extends BaseEntity {
@Column({ comment: '父菜单名称', default: true })
isShow: boolean;
@Column({ comment: '模块名', nullable: true })
moduleName: string;
}

View File

@ -11,7 +11,7 @@ import { parseString } from 'xml2js';
@CoolController()
export class DemoPayController extends BaseController {
// 微信支付
@Inject('cool:wxpay')
@Inject()
wxpay: ICoolWxPay;
@Inject()