@ -1,4 +1,4 @@
ksat-mrsb
luxshare-mrsb
.idea
@ -13,8 +13,8 @@ RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
COPY ksat-mrsb "/app/ksat-mrsb"
COPY luxshare-mrsb "/app/luxshare-mrsb"
EXPOSE 7201
ENTRYPOINT ["./ksat-mrsb"]
ENTRYPOINT ["./luxshare-mrsb"]
@ -1,6 +1,6 @@
package global
import "ksat-mrsb/config"
import "luxshare-mrsb/config"
var (
GLO_CONFIG config.Config
module ksat-mrsb
module luxshare-mrsb
go 1.18
@ -1,13 +1,14 @@
package main
import (
log "github.com/sirupsen/logrus"
"luxshare-mrsb/config"
"gopkg.in/natefinch/lumberjack.v2"
"luxshare-mrsb/global"
"ksat-mrsb/config"
"luxshare-mrsb/serve"
"ksat-mrsb/global"
"ksat-mrsb/serve"
"net/http"
"os"
)
func init() {
@ -6,7 +6,7 @@ import (
"errors"
"fmt"
"io/ioutil"
"ksat-mrsb/model"
"luxshare-mrsb/model"
"net/url"
"strings"
@ -4,7 +4,6 @@ import (
"bytes"
"encoding/base64"
"image"
_ "image/gif"
"image/jpeg"
@ -12,13 +11,15 @@ import (
_ "image/png"
"io"
"ksat-mrsb/serve/core"
"luxshare-mrsb/serve/core"
"ksat-mrsb/util"
"luxshare-mrsb/util"
"strconv"
"time"
//
@ -3,12 +3,13 @@ package util
"encoding/json"
"github.com/fsnotify/fsnotify"