|
@@ -0,0 +1,86 @@
|
|
|
|
|
+package iamlogin
|
|
|
|
|
+
|
|
|
|
|
+//"time"
|
|
|
|
|
+
|
|
|
|
|
+type RtxMsg struct {
|
|
|
|
|
+ Msg string `json:"msg"`
|
|
|
|
|
+ Receiver string `json:"receiver"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type PtrUser struct {
|
|
|
|
|
+ UserName string `json:"username"`
|
|
|
|
|
+ PassWord string `json:"password"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type Msg struct {
|
|
|
|
|
+ UserName string `json:"userName"`
|
|
|
|
|
+ ToMobile string `json:"toMobile"`
|
|
|
|
|
+ Msg string `json:"msg"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type MsgTest struct {
|
|
|
|
|
+ UserName string `json:"UserName"`
|
|
|
|
|
+ ToMobile string `json:"ToMobile"`
|
|
|
|
|
+ Msg string `json:"MSG"`
|
|
|
|
|
+ BizName string `json:"BizName"`
|
|
|
|
|
+ BizPwd string `json:"BizPwd"`
|
|
|
|
|
+ EXPCode string `json:"EXPCode"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type RtxLogin struct {
|
|
|
|
|
+ Username string `json:"username"`
|
|
|
|
|
+ Password string `json:"password"`
|
|
|
|
|
+ UserDomain string `json:"userDomain"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type RtxRespToken struct {
|
|
|
|
|
+ Code int `json:"code"`
|
|
|
|
|
+ Message string `json:"message"`
|
|
|
|
|
+ Token string `json:"token"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type RtxOrganize struct {
|
|
|
|
|
+ Id string `json:"id"`
|
|
|
|
|
+ OrgCode string `json:"message"`
|
|
|
|
|
+ OrgName string `json:"orgName"`
|
|
|
|
|
+ OrgShortName string `json:"orgShortName"`
|
|
|
|
|
+ ParentId string `json:"parentId"`
|
|
|
|
|
+ IsInValid string `json:"ISINVALID"`
|
|
|
|
|
+ Remark string `json:"remark"`
|
|
|
|
|
+ Children []RtxOrganize `json:"children"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type RtxOrganizeItems struct {
|
|
|
|
|
+ Items []RtxOrganize `json:"items"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type Tmp_User struct {
|
|
|
|
|
+ Department string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+ Fullname string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+ Username string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+ Code string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+ Email string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+ Telphone string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+ Deptid string `xorm:"VARCHAR(500)"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+type Base_Msg struct {
|
|
|
|
|
+ Id int `xorm:"not null pk autoincr INT(11)"`
|
|
|
|
|
+ Type string `xorm:"not null comment('类别(1注册(1-1注册成功1-2注册失败) 2密码重置(2-1验证码2-2重置密码))') VARCHAR(10)"`
|
|
|
|
|
+ UserName string `xorm:"not null comment('企业用户名(即登录账号)') VARCHAR(50)"`
|
|
|
|
|
+ UserRealName string `xorm:"not null comment('企业名称') VARCHAR(100)"`
|
|
|
|
|
+ UserId string `xorm:"not null comment('用户名Id(BaseUser表Id)') VARCHAR(11)"`
|
|
|
|
|
+ ToMobile string `xorm:"not null comment('目标手机号') VARCHAR(20)"`
|
|
|
|
|
+ Msg string `xorm:"not null comment('短信内容') VARCHAR(500)"`
|
|
|
|
|
+ ToTime string `xorm:"not null comment('发送时间') VARCHAR(20)"`
|
|
|
|
|
+ Status string `xorm:"not null comment('发送状态') VARCHAR(20)"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+type Base_VCode struct {
|
|
|
|
|
+ Id int `xorm:"not null pk autoincr INT(11)"`
|
|
|
|
|
+ UserName string `xorm:"not null comment('企业用户名(即登录账号)') VARCHAR(50)"`
|
|
|
|
|
+ UserId string `xorm:"not null comment('用户名Id(BaseUser表Id)') VARCHAR(11)"`
|
|
|
|
|
+ Code string `xorm:"not null comment('验证码') VARCHAR(500)"`
|
|
|
|
|
+}
|