添加更新接口
This commit is contained in:
@@ -17,6 +17,7 @@ public interface APIPath {
|
||||
String Sensitive_Query = "/admin/sensitive/query";
|
||||
|
||||
String Create_User = "/admin/user/create";
|
||||
String Update_User = "/admin/user/update";
|
||||
String Destroy_User = "/admin/user/destroy";
|
||||
String Create_Robot = "/admin/robot/create";
|
||||
String CreateOrUpdate_Device = "/admin/device/create";
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* This file is part of the Wildfire Chat package.
|
||||
* (c) Heavyrain2012 <[email protected]>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
package cn.wildfirechat.pojos;
|
||||
|
||||
|
||||
import cn.wildfirechat.proto.WFCMessage;
|
||||
|
||||
public class InputUpdateUserInfo {
|
||||
//UpdateUserInfoMask
|
||||
public int flag;
|
||||
public InputOutputUserInfo userInfo;
|
||||
}
|
||||
@@ -201,6 +201,19 @@ public class ProtoConstants {
|
||||
int Chatroom_Member_Event_Unmute = 4;
|
||||
}
|
||||
|
||||
public interface UpdateUserInfoMask {
|
||||
int Update_User_DisplayName = 0x01;
|
||||
int Update_User_Portrait = 0x02;
|
||||
int Update_User_Gender = 0x04;
|
||||
int Update_User_Mobile = 0x08;
|
||||
int Update_User_Email = 0x10;
|
||||
int Update_User_Address = 0x20;
|
||||
int Update_User_Company = 0x40;
|
||||
int Update_User_Social = 0x80;
|
||||
int Update_User_Extra = 0x100;
|
||||
}
|
||||
|
||||
|
||||
public static final int MESSAGE_CONTENT_TYPE_CREATE_GROUP = 104;
|
||||
public static final int MESSAGE_CONTENT_TYPE_ADD_GROUP_MEMBER = 105;
|
||||
public static final int MESSAGE_CONTENT_TYPE_KICKOF_GROUP_MEMBER = 106;
|
||||
|
||||
Reference in New Issue
Block a user