client2world_bind_phone.proto 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. import "client2world_msg_type.proto";
  2. import "msg_type_def.proto";
  3. import "msg_info_def.proto";
  4. package client2world_protocols;
  5. // 请求绑定手机
  6. message packetc2w_req_bind_phone
  7. {
  8. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_bind_phone];
  9. // 手机号
  10. optional string phone = 2;
  11. //1普通绑定 2vip绑定
  12. optional int32 bindType = 3;
  13. optional string newPwd = 4;
  14. optional string name = 5;
  15. optional string QQ = 6;
  16. }
  17. // 请求绑定手机结果
  18. message packetw2c_req_bind_phone_result
  19. {
  20. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_bind_phone_result];
  21. optional int32 result = 2;
  22. optional int32 bindType = 3;
  23. }
  24. // 请求验证
  25. message packetc2w_req_verify_code
  26. {
  27. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_verify_code];
  28. // 验证码
  29. optional string code = 2;
  30. }
  31. // 请求验证结果
  32. message packetw2c_req_verify_code_result
  33. {
  34. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_verify_code_result];
  35. optional int32 result = 2;
  36. }
  37. // 请求验证身份证
  38. message packetc2w_req_verify_id_card
  39. {
  40. optional e_server_msg_type packet_id = 1 [default = e_mst_c2w_req_verify_id_card];
  41. // 真实姓名
  42. optional string name = 2;
  43. // 身份证号
  44. optional string idnumber = 3;
  45. }
  46. // 请求验证身份证结果
  47. message packetw2c_req_verify_id_card_result
  48. {
  49. optional e_server_msg_type packet_id = 1 [default = e_mst_w2c_req_verify_id_card_result];
  50. optional int32 result = 2;
  51. }