@ -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"
"gopkg.in/natefinch/lumberjack.v2"
"ksat-mrsb/config"
"ksat-mrsb/global"
"ksat-mrsb/serve"
"luxshare-mrsb/config"
"luxshare-mrsb/global"
"luxshare-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"
"ksat-mrsb/util"
"luxshare-mrsb/serve/core"
"luxshare-mrsb/util"
"strconv"
"time"
//
@ -3,12 +3,13 @@ package util
"encoding/json"
"github.com/fsnotify/fsnotify"