# Register Passport-通行证模块-注册 - [/passport.Register/Pwd](#passportregisterpwd) - [/passport.Register/Code](#passportregistercode) ## /passport.Register/Pwd 帐号密码注册 ### Request ```javascript { email: "", // type, 邮箱 account: "", // type, 帐号 phone: "", // type, 手机号 password: "", // type, 密码 code: "", // type, 验证码 agency_id: "0", // type, 代理ID staff_id: "0", // type, 工作人员ID owner_id: "0", // type, 所属ID owner_identity: "", // type, 所属唯一码 } ``` ### Reply ```javascript { id: "0", // type identity: "", // type, 用户唯一码 token: "", // type, 用户Header所需Token extend: { "": "" }, // map, 扩展字段 } ``` ## /passport.Register/Code 手机验证码注册 ### Request ```javascript { email: "", // type, 邮箱 account: "", // type, 帐号 phone: "", // type, 手机号 password: "", // type, 密码 code: "", // type, 验证码 agency_id: "0", // type, 代理ID staff_id: "0", // type, 工作人员ID owner_id: "0", // type, 所属ID owner_identity: "", // type, 所属唯一码 } ``` ### Reply ```javascript { id: "0", // type identity: "", // type, 用户唯一码 token: "", // type, 用户Header所需Token extend: { "": "" }, // map, 扩展字段 } ```