💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
接口格式化 ~~~ use VIEW\ServiceOps\SpareParts\Service\VanStockService; use VIEW\ServiceOps\SpareParts\Service\InterfaceCommonService; $vanStockService = new VanStockService(); $qty = $vanStockService->isShowDecimal(数量); $interfaceCommonService = new InterfaceCommonService(); number_locale_format($qty,$interfaceCommonService->getDecimalsQuantitySwitch()) ~~~ 金额格式化--前端 ``` onfocus="monetary_onfocus(this)" onblur="monetary_onblur(this)" ``` 数量格式化 ``` onfocus="number_onfocus(this)" onblur="number_onblur(this)" ```