feat: finish payment page layout

This commit is contained in:
RockYang
2023-11-07 18:10:28 +08:00
parent 4a81826d19
commit d0b8d666e4
8 changed files with 178 additions and 31 deletions

View File

@@ -33,9 +33,10 @@ func NewDefaultConfig() *types.AppConfig {
BasePath: "./static/upload",
},
},
MjConfig: types.MidJourneyConfig{Enabled: false},
SdConfig: types.StableDiffusionConfig{Enabled: false, Txt2ImgJsonPath: "res/text2img.json"},
WeChatBot: false,
MjConfig: types.MidJourneyConfig{Enabled: false},
SdConfig: types.StableDiffusionConfig{Enabled: false, Txt2ImgJsonPath: "res/text2img.json"},
WeChatBot: false,
AlipayConfig: types.AlipayConfig{SandBox: true},
}
}

View File

@@ -61,7 +61,8 @@ type AliYunSmsConfig struct {
}
type AlipayConfig struct {
Enabled bool // 是否启用支付宝服务
Enabled bool // 是否启用服务
SandBox bool // 是否沙箱环境
Company string // 公司名称
UserId string // 支付宝用户 ID
AppId string // 支付宝 AppID