Explorar el Código

后端: 交费时间限制提示文案。文案内时间暂未跟随配置显示。判断已关联配置。

baichengfei hace 4 años
padre
commit
87f8d603c6

+ 2 - 2
src/dashoo.cn/backend/api/controllers/oilsupplier/paymentinfo.go

@@ -357,7 +357,7 @@ func (this *PaymentInfoController) SureEntity() {
 	today := time.Now().Day()
 	var errInfo ErrorDataInfo
 	if today < startDay || today > endDay {
-		errInfo.Message = "请于每月" + startDayStr + "日-" + endDayStr + "日确认交费!"
+		errInfo.Message = "由于大港油田公司财务系统结账,暂停每月27日-1日交费,交费时间为每月2日-26日,如给您带来不便我们深表歉意! "
 		errInfo.Code = -1
 		this.Data["json"] = &errInfo
 		this.ServeJSON()
@@ -1132,7 +1132,7 @@ func (this *PaymentInfoController) IsPayTime() {
 		code = -1
 	}
 	var errInfo ErrorInfo
-	errInfo.Message = "请于每月" + startDayStr + "日-" + endDayStr + "日确认交费!"
+	errInfo.Message = "由于大港油田公司财务系统结账,暂停每月27日-1日交费,交费时间为每月2日-26日,如给您带来不便我们深表歉意! "
 	errInfo.Code = int64(code)
 	this.Data["json"] = &errInfo
 	this.ServeJSON()