更改京东用户角色
This commit is contained in:
@@ -274,8 +274,14 @@ const (
|
|||||||
KeyImgData = "imgData"
|
KeyImgData = "imgData"
|
||||||
KeyImgName = "imgName"
|
KeyImgName = "imgName"
|
||||||
|
|
||||||
ResultKeyData = "data"
|
ResultKeyData = "data"
|
||||||
ResultKeyResult = "result"
|
ResultKeyResult = "result"
|
||||||
|
JdUserRoleJHYId = "28926"
|
||||||
|
JdUserRoleJHYName = "【通用】拣货员"
|
||||||
|
JdUserRolesName = "多角色"
|
||||||
|
JdUserNoRole = "无角色"
|
||||||
|
JdUserManager = "jd_jxcs1223"
|
||||||
|
JdUserManagerGy = "jd_jxgy"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (a *API) SetJdCookie(cookieValue string) {
|
func (a *API) SetJdCookie(cookieValue string) {
|
||||||
|
|||||||
@@ -151,13 +151,3 @@ func TestUpdateStoreFreightConfigNew(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestPrivilegeSearchUser(t *testing.T) {
|
|
||||||
result, _, _, err := api.PrivilegeSearchUser(1)
|
|
||||||
if err != nil {
|
|
||||||
t.Fatal(err)
|
|
||||||
}
|
|
||||||
if true {
|
|
||||||
t.Log(utils.Format4Output(result, false))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user