update go module to gitea.youtukeji.com.cn/xiabin/youtu_server
This commit is contained in:
parent
1fba083683
commit
7a1c79486c
@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"youtu_server/game_open_api/internal/config"
|
||||
"youtu_server/game_open_api/internal/handler"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/config"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/handler"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/conf"
|
||||
"github.com/zeromicro/go-zero/rest"
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"gitea.youtukeji.com.cn/xiabin/douyin-openapi/cache"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_ecpm/pkg/douyinapi"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_ecpm/pkg/wechat_api"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/model"
|
||||
"sync"
|
||||
"youtu_server/game_open_api/model"
|
||||
)
|
||||
|
||||
var once sync.Once
|
||||
|
@ -3,10 +3,10 @@ package app_user
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/logic/app_user"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"youtu_server/game_open_api/internal/logic/app_user"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
)
|
||||
|
||||
func AppUserSetUserHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
|
@ -3,10 +3,10 @@ package douyin
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/logic/douyin"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"youtu_server/game_open_api/internal/logic/douyin"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
)
|
||||
|
||||
func DouyinCode2tokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
|
@ -3,9 +3,9 @@ package douyin
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/logic/douyin"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"youtu_server/game_open_api/internal/logic/douyin"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
)
|
||||
|
||||
func GetEcpmHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
|
@ -3,9 +3,9 @@ package game
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/logic/game"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"youtu_server/game_open_api/internal/logic/game"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
)
|
||||
|
||||
func RankingListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
|
@ -3,10 +3,10 @@ package game
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/logic/game"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"youtu_server/game_open_api/internal/logic/game"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
)
|
||||
|
||||
func RankingSetScoreHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
|
@ -7,11 +7,11 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
app_user "youtu_server/game_open_api/internal/handler/app_user"
|
||||
douyin "youtu_server/game_open_api/internal/handler/douyin"
|
||||
game "youtu_server/game_open_api/internal/handler/game"
|
||||
wechat "youtu_server/game_open_api/internal/handler/wechat"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
app_user "gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/handler/app_user"
|
||||
douyin "gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/handler/douyin"
|
||||
game "gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/handler/game"
|
||||
wechat "gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/handler/wechat"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
|
||||
"github.com/zeromicro/go-zero/rest"
|
||||
)
|
||||
|
@ -3,10 +3,10 @@ package wechat
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/logic/wechat"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"youtu_server/game_open_api/internal/logic/wechat"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
)
|
||||
|
||||
func WechatCode2UserIdHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
|
||||
|
@ -2,10 +2,10 @@ package app_user
|
||||
|
||||
import (
|
||||
"context"
|
||||
"youtu_server/game_open_api/model"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/model"
|
||||
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
@ -2,13 +2,13 @@ package douyin
|
||||
|
||||
import (
|
||||
"context"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/app_api_helper"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/model"
|
||||
"github.com/golang-jwt/jwt/v4"
|
||||
"time"
|
||||
"youtu_server/game_open_api/internal/app_api_helper"
|
||||
"youtu_server/game_open_api/model"
|
||||
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
@ -2,11 +2,11 @@ package douyin
|
||||
|
||||
import (
|
||||
"context"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/app_api_helper"
|
||||
"time"
|
||||
"youtu_server/game_open_api/internal/app_api_helper"
|
||||
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
)
|
||||
|
||||
type GetEcpmLogic struct {
|
||||
|
@ -2,8 +2,8 @@ package game
|
||||
|
||||
import (
|
||||
"context"
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
@ -3,11 +3,11 @@ package game
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/model"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlc"
|
||||
"youtu_server/game_open_api/model"
|
||||
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
@ -3,13 +3,13 @@ package wechat
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/app_api_helper"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/model"
|
||||
"github.com/golang-jwt/jwt/v4"
|
||||
"time"
|
||||
"youtu_server/game_open_api/internal/app_api_helper"
|
||||
"youtu_server/game_open_api/model"
|
||||
|
||||
"youtu_server/game_open_api/internal/svc"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/svc"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/config"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/model"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
||||
"youtu_server/game_open_api/internal/config"
|
||||
"youtu_server/game_open_api/model"
|
||||
)
|
||||
|
||||
type ServiceContext struct {
|
||||
|
@ -5,10 +5,10 @@ import (
|
||||
"database/sql"
|
||||
"errors"
|
||||
"fmt"
|
||||
"gitea.youtukeji.com.cn/xiabin/youtu_server/game_open_api/internal/types"
|
||||
"github.com/zeromicro/go-zero/core/stores/cache"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlc"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
||||
"youtu_server/game_open_api/internal/types"
|
||||
)
|
||||
|
||||
var _ GameScoreModel = (*customGameScoreModel)(nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user