Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
eb5d45dfee
2 changed files with 7 additions and 0 deletions
  1. +4
    -0
      app/admin/hdl/hdl_audit_center.go
  2. +3
    -0
      app/enum/enum_central_kitchen_for_school_user_refund_day.go

+ 4
- 0
app/admin/hdl/hdl_audit_center.go View File

@@ -64,6 +64,10 @@ func CentralKitchenForSchoolOrderRefundList(c *gin.Context) {
"name": enum.CentralKitchenForSchoolUserRefundDayState.String(enum.CentralKitchenForSchoolUserRefundDayStateForAuditReject),
"value": enum.CentralKitchenForSchoolUserRefundDayStateForAuditReject,
},
{
"name": enum.CentralKitchenForSchoolUserRefundDayState.String(enum.CentralKitchenForSchoolUserRefundDayStateForRefunding),
"value": enum.CentralKitchenForSchoolUserRefundDayStateForRefunding,
},
{
"name": enum.CentralKitchenForSchoolUserRefundDayState.String(enum.CentralKitchenForSchoolUserRefundDayStateForAuditComplete),
"value": enum.CentralKitchenForSchoolUserRefundDayStateForAuditComplete,


+ 3
- 0
app/enum/enum_central_kitchen_for_school_user_refund_day.go View File

@@ -7,6 +7,7 @@ const (
CentralKitchenForSchoolUserRefundDayStateForAuditPass = 2
CentralKitchenForSchoolUserRefundDayStateForAuditReject = 3
CentralKitchenForSchoolUserRefundDayStateForAuditComplete = 4
CentralKitchenForSchoolUserRefundDayStateForRefunding = 5
)

func (gt CentralKitchenForSchoolUserRefundDayState) String() string {
@@ -19,6 +20,8 @@ func (gt CentralKitchenForSchoolUserRefundDayState) String() string {
return "审核拒绝"
case CentralKitchenForSchoolUserRefundDayStateForAuditComplete:
return "退款已完成"
case CentralKitchenForSchoolUserRefundDayStateForRefunding:
return "退款中"
default:
return "未知"
}


Loading…
Cancel
Save