Compare commits

..

No commits in common. "acb845a55f5659469a4101def18b6d45df30ae34" and "b0adf39e007e5ef19ad5fd66061d786a6da281a5" have entirely different histories.

View File

@ -556,7 +556,8 @@ func autoConfirm(ctx context.Context, workUuid string) (err error) {
zap.L().Error("autoConfirm WorkInfo", zap.Any("err", err))
return
}
userID, _ := strconv.ParseInt(infoResp.ArtistUuid, 10, 64)
fmt.Println("autoConfirm WorkInfo", infoResp)
/*userID, _ := strconv.ParseInt(infoResp.ArtistUuid, 10, 64)
balanceInfoRes, err := service.BundleProvider.GetBundleBalanceByUserId(context.Background(), &bundle.GetBundleBalanceByUserIdReq{
UserId: int32(userID),
})
@ -596,6 +597,9 @@ func autoConfirm(ctx context.Context, workUuid string) (err error) {
resp, err := service.BundleProvider.AddBundleBalance(context.Background(), &addBalanceReq)
if err != nil {
return
}*/
resp := &bundle.AddBundleBalanceResp{
UsedType: 2,
}
zap.L().Info("autoConfirm AddBundleBalanceResp", zap.Any("resp", resp))
var mm = make(map[string]interface{}, 3)