...
|
...
|
@@ -85,8 +85,8 @@ type ImportEmployeeData struct { |
|
|
|
|
|
//EmployeeChangePhoneData 修改用户的账号
|
|
|
type EmployeeChangePhoneData struct {
|
|
|
OldPhone string `json:"oldPhone"`
|
|
|
NewPhone string `json:"newPhone"`
|
|
|
OldPhone string `json:"old_phone"`
|
|
|
NewPhone string `json:"new_phone"`
|
|
|
}
|
|
|
|
|
|
var _ PlatformAction = ModuleEmployee{}
|
...
|
...
|
@@ -162,8 +162,8 @@ func (m ModuleEmployee) DoAction(code string, jsondata []byte) error { |
|
|
UpdateEmployeeData(data.Edit[i])
|
|
|
}
|
|
|
return nil
|
|
|
case "changePhone":
|
|
|
//修改用户的手机账号
|
|
|
case "changePhoneAllCompany":
|
|
|
//修改用户的手机账号关联全部的公司
|
|
|
var (
|
|
|
data EmployeeChangePhoneData
|
|
|
err error
|
...
|
...
|
|