Browse Source

日志添加

WH01243 8 months ago
parent
commit
2ee799b87a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      jyBXSubscribe/rpc/model/service/subscribe.go

+ 1 - 2
jyBXSubscribe/rpc/model/service/subscribe.go

@@ -11,7 +11,6 @@ import (
 	"fmt"
 	"github.com/gogf/gf/v2/util/gconv"
 	"github.com/zeromicro/go-zero/core/logx"
-	"log"
 	"strconv"
 	"strings"
 	"time"
@@ -59,7 +58,7 @@ func (this *SubseribeService) Update() (int64, error) {
 	}
 
 	//查询用户信息
-	log.Println(this.UserId, fields)
+	fmt.Println(this.UserId, fields)
 	r := IC.Compatible.Select(this.UserId, fields)
 	if r == nil || len(*r) == 0 {
 		logx.Error("未找到用户")