package common type Api struct { ServiceName string // 服务名称 Command string // 接口名称 } var ( AccountImport Api = Api{"im_open_login_svc", "account_import"} AccountCheck Api = Api{"im_open_login_svc", "account_check"} AccountDelete Api = Api{"im_open_login_svc", "account_delete"} GroupCreate Api = Api{"group_open_http_svc", "create_group"} PushOrdinaryMsgToGroup Api = Api{"group_open_http_svc", "send_group_msg"} // 发送普通群消息 ProfileSet Api = Api{"profile", "portrait_set"} )