diff --git a/cmd/server/main.go b/cmd/server/main.go index 89bd4b1..4602312 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -57,11 +57,11 @@ func main() { serviceTrialPeriods := make([]services.TrialPeriod, len(trialPeriods)) for i, tp := range trialPeriods { serviceTrialPeriods[i] = services.TrialPeriod{ - ID: tp.ID, - CustomerID: tp.CustomerID, - StartTime: tp.StartTime, - EndTime: tp.EndTime, - CreatedAt: tp.CreatedAt, + ID: tp.ID, + CustomerName: tp.CustomerName, + StartTime: tp.StartTime, + EndTime: tp.EndTime, + CreatedAt: tp.CreatedAt, } } @@ -97,11 +97,11 @@ func main() { serviceTrialPeriods := make([]services.TrialPeriod, len(trialPeriods)) for i, tp := range trialPeriods { serviceTrialPeriods[i] = services.TrialPeriod{ - ID: tp.ID, - CustomerID: tp.CustomerID, - StartTime: tp.StartTime, - EndTime: tp.EndTime, - CreatedAt: tp.CreatedAt, + ID: tp.ID, + CustomerName: tp.CustomerName, + StartTime: tp.StartTime, + EndTime: tp.EndTime, + CreatedAt: tp.CreatedAt, } } diff --git a/frontend/index.html b/frontend/index.html index f356e55..456a4a9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -253,8 +253,7 @@
-
-

客户信息

+