- 调整网络打印机的打印格式

This commit is contained in:
gazebo
2019-04-02 09:35:49 +08:00
parent 7d813f12b6
commit 22f9ba419d
2 changed files with 7 additions and 3 deletions

View File

@@ -193,6 +193,10 @@ func IntPrice2StandardString(value int64) string {
return fmt.Sprintf("%.2f", IntPrice2Standard(value))
}
func IntPrice2StandardCurrencyString(value int64) string {
return fmt.Sprintf("¥%.2f", IntPrice2Standard(value))
}
func CallMsgHandler(handler func(), primaryID string) {
routinePool.CallFun(func() {
handler()