header 信息处理 2
This commit is contained in:
parent
763be7adbb
commit
f90c45faa1
|
|
@ -1,7 +1,7 @@
|
|||
package api
|
||||
|
||||
import (
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import (
|
|||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/api"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/api"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package anyapi
|
|||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import (
|
|||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/api"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/api"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"io"
|
||||
"net/http"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"io"
|
||||
"net/http"
|
||||
"testing"
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ package key
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
)
|
||||
|
||||
var _ core.Request = (*OrderRequest)(nil)
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ package v2
|
|||
|
||||
import (
|
||||
"context"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/api"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/api"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package v2
|
|||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/core"
|
||||
"gitee.com/lansexiongdi/ymt/core"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils/rsa"
|
||||
"gitee.com/lansexiongdi/ymt/utils/rsa"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils/sm"
|
||||
"gitee.com/lansexiongdi/ymt/utils/sm"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ package core
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"gitee.com/lansexiongdi/ymt/utils/rsa"
|
||||
"gitee.com/lansexiongdi/ymt/utils/sm"
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils/rsa"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils/sm"
|
||||
)
|
||||
|
||||
type SignType string
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils"
|
||||
"gitee.com/lansexiongdi/ymt/utils"
|
||||
"io"
|
||||
"net/http"
|
||||
"time"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package core
|
|||
|
||||
import (
|
||||
"crypto/rsa"
|
||||
sdkrsa "github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils/rsa"
|
||||
sdkrsa "gitee.com/lansexiongdi/ymt/utils/rsa"
|
||||
)
|
||||
|
||||
// RsaSigner for RSA signing
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package core
|
||||
|
||||
import (
|
||||
"github.com/sleepinggodoflove/lansexiongdi-marketing-sdk/utils/sm"
|
||||
"gitee.com/lansexiongdi/ymt/utils/sm"
|
||||
"github.com/tjfoc/gmsm/sm2"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue