优化代码

This commit is contained in:
刘祥超
2022-07-22 14:35:17 +08:00
parent a4cc138ef3
commit 876c631c85
80 changed files with 462 additions and 463 deletions

View File

@@ -20,7 +20,7 @@ type UserBillService struct {
// GenerateAllUserBills 手工生成订单
func (this *UserBillService) GenerateAllUserBills(ctx context.Context, req *pb.GenerateAllUserBillsRequest) (*pb.RPCSuccess, error) {
_, err := this.ValidateAdmin(ctx, 0)
_, err := this.ValidateAdmin(ctx)
if err != nil {
return nil, err
}