This commit is contained in:
桀尼龟 2025-06-20 15:52:44 +08:00
commit ae33bf910a
4 changed files with 1850 additions and 1836 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@ import (
fmt "fmt" fmt "fmt"
math "math" math "math"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
_ "google.golang.org/protobuf/types/descriptorpb" _ "google.golang.org/protobuf/types/descriptorpb"
_ "github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators" github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
) )

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT. // Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-triple v1.0.8 // - protoc-gen-go-triple v1.0.8
// - protoc v3.20.3 // - protoc v4.24.0--rc1
// source: pb/bundle.proto // source: pb/bundle.proto
package bundle package bundle

View File

@ -418,6 +418,8 @@ func CreateAntomPay(c *gin.Context) {
TimeUnit: timeUnit, TimeUnit: timeUnit,
AssociatedorderNumber: req.OutTradeNo, //增值服务订单号 AssociatedorderNumber: req.OutTradeNo, //增值服务订单号
Type: 2, //自行购买 Type: 2, //自行购买
OperatorName: orderLimit.UserName,
OperatorId: orderLimit.UserId,
}) })
if err != nil { if err != nil {
service.Error(c, err) service.Error(c, err)
@ -679,6 +681,8 @@ func AntomWebhook(c *gin.Context) {
TimeUnit: timeUnit, TimeUnit: timeUnit,
AssociatedorderNumber: resp.OutTradeNo, //增值服务订单号 AssociatedorderNumber: resp.OutTradeNo, //增值服务订单号
Type: 2, //自行购买 Type: 2, //自行购买
OperatorName: orderLimit.UserName,
OperatorId: orderLimit.UserId,
}) })
if err != nil { if err != nil {
service.Error(c, err) service.Error(c, err)