询单接口&调整脚手架

This commit is contained in:
mzl
2025-07-23 15:02:09 +08:00
parent 283b21b1f8
commit b22db8ac35
12 changed files with 285 additions and 167 deletions
+9
View File
@@ -66,6 +66,15 @@ if (!function_exists('getConfig')) {
}
}
/*
* 询单号生成
*/
if (!function_exists('orderNum')) {
function orderNum() {
return "SN".date('Ymd') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT);
}
}
/*
* 调试用
*/