Browse Source

去掉无用方法

master v0.8.7
guzeng 3 years ago
parent
commit
95f632eb25
2 changed files with 1 additions and 6 deletions
  1. +0
    -4
      user.pb.go
  2. +1
    -2
      user.proto

+ 0
- 4
user.pb.go View File

@ -537,7 +537,6 @@ type UserService interface {
AddUserCoupon(in *Request, out *Response) error AddUserCoupon(in *Request, out *Response) error
UpdateUserCoupon(in *Request, out *Response) error UpdateUserCoupon(in *Request, out *Response) error
Fans(in *Request, out *Response) error Fans(in *Request, out *Response) error
LockFans(in *Request, out *Response) error
} }
// AcceptUserServiceClient accepts connections on the listener and serves requests // AcceptUserServiceClient accepts connections on the listener and serves requests
@ -684,9 +683,6 @@ func (c *UserServiceClient) UpdateUserCoupon(in *Request, out *Response) error {
func (c *UserServiceClient) Fans(in *Request, out *Response) error { func (c *UserServiceClient) Fans(in *Request, out *Response) error {
return c.Call("UserService.Fans", in, out) return c.Call("UserService.Fans", in, out)
} }
func (c *UserServiceClient) LockFans(in *Request, out *Response) error {
return c.Call("UserService.LockFans", in, out)
}
// DialUserService connects to an UserService at the specified network address. // DialUserService connects to an UserService at the specified network address.
func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) { func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) {


+ 1
- 2
user.proto View File

@ -112,6 +112,5 @@ service UserService {
rpc addUserCoupon(Request) returns (Response); // rpc addUserCoupon(Request) returns (Response); //
rpc updateUserCoupon(Request) returns (Response); // rpc updateUserCoupon(Request) returns (Response); //
//rpc favoriteProduct(Request) returns (Response); // //rpc favoriteProduct(Request) returns (Response); //
rpc Fans(Request) returns (Response); //
rpc LockFans(Request) returns (Response); //
rpc Fans(Request) returns (Response); //
} }

Loading…
Cancel
Save