- dingdingapi.NewWithAgentID
- CorpAsyncSend and CorpAsyncSendSimple remove agentID param
This commit is contained in:
@@ -3,7 +3,7 @@ package dingdingapi
|
||||
import "testing"
|
||||
|
||||
func TestCorpAsyncSend(t *testing.T) {
|
||||
err := api.CorpAsyncSend(239461075, []string{
|
||||
err := api.CorpAsyncSend([]string{
|
||||
"051063452224284964",
|
||||
}, nil, false, map[string]interface{}{
|
||||
"msgtype": "text",
|
||||
@@ -19,7 +19,7 @@ func TestCorpAsyncSend(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCorpAsyncSendSimple(t *testing.T) {
|
||||
err := api.CorpAsyncSendSimple(239461075, "051063452224284964", `
|
||||
err := api.CorpAsyncSendSimple("051063452224284964", `
|
||||
管理用户列表或角色列表。 Casbinadfs 认为由项目自身来管理用户、角色列表更为合适, 用户通常有他们的密码,但是 Casbin 的设计思想并不是把它作为一个存储密码的容器。 而是存储RBAC方案中用户和角色之间的映射关系。
|
||||
`)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user