支持官方直连支付、退款配置与套餐联动

This commit is contained in:
zhiqicloud
2026-05-19 19:01:10 +08:00
parent ed75ae6d56
commit 97b05e744f
40 changed files with 4674 additions and 365 deletions

View File

@@ -14,7 +14,7 @@ pub enum SchemaError {
#[error("failed to parse schema file {path}: {source}")]
Parse {
path: PathBuf,
source: toml::de::Error,
source: Box<toml::de::Error>,
},
#[error("failed to write generated schema file {path}: {source}")]
Write {
@@ -221,7 +221,7 @@ pub fn load_schema_sources(root: impl AsRef<Path>) -> Result<LoadedSchema, Schem
})?;
let file: SchemaFile = toml::from_str(&text).map_err(|source| SchemaError::Parse {
path: path.clone(),
source,
source: Box::new(source),
})?;
let mut source_tables = Vec::new();
for (name, table) in file.table {