feat:完善项目
This commit is contained in:
@ -3,6 +3,7 @@ package task
|
||||
import (
|
||||
"ArmedPolice/utils"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type Order struct {
|
||||
@ -19,6 +20,8 @@ func (this *Order) UnmarshalBinary(data []byte) error {
|
||||
}
|
||||
|
||||
func (this *Order) Handle() error {
|
||||
fmt.Println(this.ID)
|
||||
fmt.Println(this.Name)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user