公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -80,21 +80,21 @@ const coerceBoolean = (value) => {
};
exports.coerceBoolean = coerceBoolean;
const maybeCoerceInteger = (value) => {
if (value === undefined) {
if (value == null) {
return undefined;
}
return (0, exports.coerceInteger)(value);
};
exports.maybeCoerceInteger = maybeCoerceInteger;
const maybeCoerceFloat = (value) => {
if (value === undefined) {
if (value == null) {
return undefined;
}
return (0, exports.coerceFloat)(value);
};
exports.maybeCoerceFloat = maybeCoerceFloat;
const maybeCoerceBoolean = (value) => {
if (value === undefined) {
if (value == null) {
return undefined;
}
return (0, exports.coerceBoolean)(value);