This commit is contained in:
jiangyong27 2024-07-12 16:26:05 +08:00
parent 1b8f9cd42c
commit ce73e3b561
20 changed files with 31 additions and 31 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module gitlab.batiao8.com/open/gosdk
module git.u8t.cn/open/gosdk
go 1.18

View File

@ -4,10 +4,10 @@ import (
"encoding/json"
"errors"
"fmt"
"git.u8t.cn/open/gosdk/util"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
"time"
)

View File

@ -6,15 +6,15 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"git.u8t.cn/open/gosdk/util"
"git.u8t.cn/open/gosdk/wechat"
"git.u8t.cn/open/gosdk/wechat/cache"
"git.u8t.cn/open/gosdk/wechat/message"
wutil "git.u8t.cn/open/gosdk/wechat/util"
"github.com/gin-gonic/gin"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
"gitlab.batiao8.com/open/gosdk/wechat"
"gitlab.batiao8.com/open/gosdk/wechat/cache"
"gitlab.batiao8.com/open/gosdk/wechat/message"
wutil "gitlab.batiao8.com/open/gosdk/wechat/util"
"io"
"io/ioutil"
"mime/multipart"

View File

@ -3,10 +3,10 @@ package qyweixin
import (
"encoding/json"
"fmt"
"git.u8t.cn/open/gosdk/util"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
)
type Applyer struct {

View File

@ -4,10 +4,10 @@ import (
"encoding/json"
"errors"
"fmt"
"git.u8t.cn/open/gosdk/util"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
"gorm.io/gorm/utils"
"time"
)

View File

@ -4,10 +4,10 @@ import (
"encoding/json"
"errors"
"fmt"
"git.u8t.cn/open/gosdk/util"
"git.u8t.cn/open/gosdk/wechat/message"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
"gitlab.batiao8.com/open/gosdk/wechat/message"
"time"
)

View File

@ -2,10 +2,10 @@ package qyweixin
import (
"fmt"
"git.u8t.cn/open/gosdk/util"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
"time"
)

View File

@ -6,13 +6,13 @@ import (
"crypto/tls"
"errors"
"fmt"
butil "git.u8t.cn/open/gosdk/util"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"github.com/wechatpay-apiv3/wechatpay-go/core"
"github.com/wechatpay-apiv3/wechatpay-go/core/option"
"github.com/wechatpay-apiv3/wechatpay-go/utils"
butil "gitlab.batiao8.com/open/gosdk/util"
"io/ioutil"
"net/http"
"os"

View File

@ -3,8 +3,8 @@ package unify
import (
"encoding/json"
"fmt"
"git.u8t.cn/open/gosdk/util"
"github.com/spf13/cast"
"gitlab.batiao8.com/open/gosdk/util"
"net/url"
"strconv"
"strings"

View File

@ -3,7 +3,7 @@ package unify
import (
"encoding/json"
"fmt"
"gitlab.batiao8.com/open/gosdk/util"
"git.u8t.cn/open/gosdk/util"
)
type Application struct {

View File

@ -3,7 +3,7 @@ package unify
import (
"encoding/json"
"fmt"
"gitlab.batiao8.com/open/gosdk/util"
"git.u8t.cn/open/gosdk/util"
"net/url"
)

View File

@ -4,7 +4,7 @@ import (
"encoding/json"
"errors"
"fmt"
"gitlab.batiao8.com/open/gosdk/util"
"git.u8t.cn/open/gosdk/util"
)
var (

View File

@ -6,7 +6,7 @@ import (
"sync"
"time"
"gitlab.batiao8.com/open/gosdk/wechat/util"
"git.u8t.cn/open/gosdk/wechat/util"
)
const (

View File

@ -5,7 +5,7 @@ import (
"fmt"
"time"
"gitlab.batiao8.com/open/gosdk/wechat/util"
"git.u8t.cn/open/gosdk/wechat/util"
)
const (

View File

@ -4,7 +4,7 @@ import (
"net/http"
"sync"
"gitlab.batiao8.com/open/gosdk/wechat/cache"
"git.u8t.cn/open/gosdk/wechat/cache"
)
// Context struct

View File

@ -7,7 +7,7 @@ import (
"sync"
"time"
"gitlab.batiao8.com/open/gosdk/wechat/util"
"git.u8t.cn/open/gosdk/wechat/util"
)
const (

View File

@ -3,8 +3,8 @@ package message
import (
"encoding/json"
"fmt"
"gitlab.batiao8.com/open/gosdk/wechat/context"
"gitlab.batiao8.com/open/gosdk/wechat/util"
"git.u8t.cn/open/gosdk/wechat/context"
"git.u8t.cn/open/gosdk/wechat/util"
)
const (

View File

@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"gitlab.batiao8.com/open/gosdk/wechat/context"
"gitlab.batiao8.com/open/gosdk/wechat/util"
"git.u8t.cn/open/gosdk/wechat/context"
"git.u8t.cn/open/gosdk/wechat/util"
)
const (

View File

@ -9,9 +9,9 @@ import (
"runtime/debug"
"strconv"
"gitlab.batiao8.com/open/gosdk/wechat/context"
"gitlab.batiao8.com/open/gosdk/wechat/message"
"gitlab.batiao8.com/open/gosdk/wechat/util"
"git.u8t.cn/open/gosdk/wechat/context"
"git.u8t.cn/open/gosdk/wechat/message"
"git.u8t.cn/open/gosdk/wechat/util"
)
// Server struct

View File

@ -4,9 +4,9 @@ import (
"net/http"
"sync"
"gitlab.batiao8.com/open/gosdk/wechat/cache"
"gitlab.batiao8.com/open/gosdk/wechat/context"
"gitlab.batiao8.com/open/gosdk/wechat/server"
"git.u8t.cn/open/gosdk/wechat/cache"
"git.u8t.cn/open/gosdk/wechat/context"
"git.u8t.cn/open/gosdk/wechat/server"
)
// Wechat struct