19 lines
361 B
Protocol Buffer
19 lines
361 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "plugins/proto";
|
|
|
|
package proto;
|
|
|
|
enum Status{
|
|
INVALID = 0; // 无效的状态
|
|
SUCCESS = 1; // 成功
|
|
ING = 2; // 处理中
|
|
FAIL = 3; // 失败
|
|
|
|
// 以下为特殊状态处理
|
|
WRITE_OFF = 100; // 核销
|
|
REFUND = 101; // 退款
|
|
DELETE = 102; // 删除
|
|
OVERDUE = 103; // 过期
|
|
REVOKE = 104; // 撤销
|
|
}
|