renjiaojiao 1 жил өмнө
parent
commit
3537132ad9

+ 3 - 0
src/jfw/modules/subscribepay/src/service/invoice.go

@@ -1401,6 +1401,9 @@ func IsAllowInvoice(res map[string]interface{}) bool {
 	if qutil.IntAll(res["applybill_status"]) > 0 {
 		return false
 	}
+	if qutil.Float64All(res["pay_money"]) == 0 {
+		return false
+	}
 	filter := qutil.ObjToString(res["filter"].(string))
 	filter_map := map[string]interface{}{}
 	_ = json.Unmarshal([]byte(filter), &filter_map)