syntax = "proto3";
package passport;
option go_package = "bsm/full/module/base/passport/pb;passport";
import "protobuf/blocks.proto";

// Passport通行证模块-找回密码
service Forget{
    // 验证手机号和验证码
    rpc Verify(ForgetVerifyRequest) returns(blocks.StatusReply) {}

    // 重罢密码
    rpc Reset(ForgetResetRequest) returns (blocks.StatusReply) {}
}

message ForgetVerifyRequest {
    string phone = 1; //手机号
    string code = 2; // 验证码
}


message ForgetResetRequest {
    string identity = 1; //唯一码
    string password = 2; // 密码
}