u8t
This commit is contained in:
parent
1b8f9cd42c
commit
ce73e3b561
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module gitlab.batiao8.com/open/gosdk
|
||||
module git.u8t.cn/open/gosdk
|
||||
|
||||
go 1.18
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -3,7 +3,7 @@ package unify
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"gitlab.batiao8.com/open/gosdk/util"
|
||||
"git.u8t.cn/open/gosdk/util"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"gitlab.batiao8.com/open/gosdk/util"
|
||||
"git.u8t.cn/open/gosdk/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"gitlab.batiao8.com/open/gosdk/wechat/util"
|
||||
"git.u8t.cn/open/gosdk/wechat/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"gitlab.batiao8.com/open/gosdk/wechat/util"
|
||||
"git.u8t.cn/open/gosdk/wechat/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net/http"
|
||||
"sync"
|
||||
|
||||
"gitlab.batiao8.com/open/gosdk/wechat/cache"
|
||||
"git.u8t.cn/open/gosdk/wechat/cache"
|
||||
)
|
||||
|
||||
// Context struct
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"gitlab.batiao8.com/open/gosdk/wechat/util"
|
||||
"git.u8t.cn/open/gosdk/wechat/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue