新增判断是否是商家管理员

This commit is contained in:
苏尹岚
2019-12-02 18:14:52 +08:00
parent f91abb83b3
commit 4ff3de2ef9
2 changed files with 33 additions and 9 deletions

View File

@@ -213,3 +213,8 @@ func TestPrivilegeUpdateJdUserStatus(t *testing.T) {
func TestUpdateJdUserRoles(t *testing.T) {
api.UpdateJdUserRoles(346568, []string{"28926", "28924"})
}
func TestIsJdManagerUser(t *testing.T) {
aa, _ := api.IsJdManagerUser(334683)
fmt.Println(aa)
}