mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-03-04 20:47:04 +00:00
测试微信支付
This commit is contained in:
parent
7c536806bf
commit
04ab0562e1
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ run/
|
||||
src/app/public/uploads/
|
||||
typings/
|
||||
.cache
|
||||
.serverless/
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -44,6 +44,4 @@ export class BaseSysMenuEntity extends BaseEntity {
|
||||
@Column({ comment: '父菜单名称', default: true })
|
||||
isShow: boolean;
|
||||
|
||||
@Column({ comment: '模块名', nullable: true })
|
||||
moduleName: string;
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ import { parseString } from 'xml2js';
|
||||
@CoolController()
|
||||
export class DemoPayController extends BaseController {
|
||||
// 微信支付
|
||||
@Inject('cool:wxpay')
|
||||
@Inject()
|
||||
wxpay: ICoolWxPay;
|
||||
|
||||
@Inject()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user