@@ -219,7 +219,9 @@ type Invoice struct {
Model int
Time string
}
- Invoice_switch bool
+ Invoice_switch bool
+ Red_invoice_switch bool //红冲发票是否可用开关
+ Red_invoice_msg string //提示信息
type entnicheConfig struct {
@@ -9,5 +9,7 @@
"model":1,
"time":"2022-01-17 10:00:00"
},
- "invoice_switch": true
+ "invoice_switch": true,
+ "red_invoice_switch": false,
+ "red_invoice_msg": "由于系统升级,线上换开发票功能暂时维护阶段,如需换开请直接联系在线客服!"
@@ -135,6 +135,8 @@
var changed = false;
var interval;
var isOk =false;
+ var red_invoice_switch = false;
+ var red_invoice_msg = "";
function checkInvoice(order_code) {
if (interval) {
clearInterval(interval);