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"} ProfileSet Api = Api{"profile", "portrait_set"} )