add ui/dist to .gitignore. change dockerfile to build front.

This commit is contained in:
Roy
2024-10-20 04:51:06 +08:00
parent 467e4c4634
commit 57ae6d5b40
31 changed files with 34 additions and 436 deletions

View File

@@ -1,8 +1,6 @@
package applicant
import (
"certimate/internal/domain"
"certimate/internal/utils/app"
"crypto"
"crypto/ecdsa"
"crypto/elliptic"
@@ -11,6 +9,9 @@ import (
"fmt"
"strings"
"certimate/internal/domain"
"certimate/internal/utils/app"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v4/challenge"

View File

@@ -42,13 +42,13 @@ type GodaddyAccess struct {
}
type PdnsAccess struct {
ApiUrl string `json:"apiUrl"`
ApiUrl string `json:"apiUrl"`
ApiKey string `json:"apiKey"`
}
type HttpreqAccess struct {
Endpoint string `json:"endpoint"`
Mode string `json:"mode"`
Endpoint string `json:"endpoint"`
Mode string `json:"mode"`
Username string `json:"username"`
Password string `json:"password"`
}

View File

@@ -1,11 +1,12 @@
package notify
import (
"certimate/internal/utils/app"
"context"
"fmt"
"strconv"
"certimate/internal/utils/app"
notifyPackage "github.com/nikoksr/notify"
"github.com/nikoksr/notify/service/dingding"
"github.com/nikoksr/notify/service/http"