|
|
|
@@ -125,7 +125,7 @@ public class UserManage { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static int modifyUserInfo(int lUserID, String employeeNo,int planTemplateNo) throws InterruptedException, JSONException { |
|
|
|
public static int modifyUserInfo(int lUserID, String employeeNo,int planTemplateNo,String doorRight) throws InterruptedException, JSONException { |
|
|
|
int status = -1; |
|
|
|
HCNetSDK.BYTE_ARRAY ptrByteArray = new HCNetSDK.BYTE_ARRAY(1024); //数组 |
|
|
|
//"POST /ISAPI/AccessControl/UserInfo/Record?format=json" 此URL也是下发人员 |
|
|
|
@@ -144,6 +144,7 @@ public class UserManage { |
|
|
|
String strInBuffer1 = "{\n" + |
|
|
|
" \"UserInfo\":{\n" + |
|
|
|
" \"employeeNo\":\""+employeeNo+"\",\n" + |
|
|
|
" \"doorRight\":\""+doorRight+"\",\n" + |
|
|
|
" \"RightPlan\":[\n" + |
|
|
|
" {\n" + |
|
|
|
" \"doorNo\":1,\n" + |
|
|
|
|