# 接口认证鉴权

## 鉴权接口

> bizType=admin.admin.CompanyAuthDubboService.auth

```json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"接口认证鉴权"}],"servers":[{"url":"https://pre-api-test.cmfbl.com/openapi-b","description":"PRE环境-公司439"}],"security":[],"paths":{"/auth/admin.admin.CompanyAuthDubboService.auth":{"post":{"summary":"鉴权接口","deprecated":false,"description":"bizType=admin.admin.CompanyAuthDubboService.auth","tags":["接口认证鉴权"],"parameters":[{"name":"trace","in":"header","description":"全局链路唯一标志","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"appId":{"type":"string","description":"B端公司授权ID"},"appSecret":{"type":"string","description":"B端公司授权密钥"}},"required":["appId","appSecret"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"msg":{"type":"string","description":"返回信息"},"fail":{"type":"boolean"},"trace":{"type":"string","description":"全局链路标志信息"},"code":{"type":"string","description":"系统通用返回码。0-成功，其他异常"},"data":{"type":"object","properties":{"code":{"type":"string","description":"白标代码"},"startNumber":{"type":"integer","description":"客户编码开始编号"},"tradeTypes":{"type":"string","description":"交易玩法"},"timezone":{"type":"integer","description":"默认时区"},"bgImage":{"type":"string","description":"登录页背景图片"},"publicKey":{"type":"string","description":"公钥配置"},"bizName":{"type":"string"},"updateBy":{"type":"string","description":"更新人"},"appId":{"type":"string","description":"授权ID"},"logo":{"type":"string","description":"白标logo"},"id":{"type":"integer","description":"公司id"},"lang":{"type":"string","description":"默认语言"},"adminPassword":{"type":"null","description":"管理员初始密码"},"adImage":{"type":"string","description":"广告图片"},"adminRoleId":{"type":"null","description":"初始化公司角色ID"},"adminUserId":{"type":"null","description":"初始化公司管理员ID"},"tradeTypeList":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"玩法Code"},"name":{"type":"string","description":"玩法名称"},"id":{"type":"string","description":"玩法ID"}},"required":["code","name","id"]},"description":"交易玩法列表"},"strId":{"type":"string"},"endNumber":{"type":"integer","description":"客户编码截至编号"},"updateTime":{"type":"integer","description":"更新时间"},"stpLoginUser":{"type":"null","description":"射单用户"},"initProgress":{"type":"integer","description":"初始化进度。1-公司初始化；2-创建数据源；3-初始化数据"},"revision":{"type":"integer","description":"乐观锁"},"token":{"type":"string","description":"token信息"},"demoInitialAmount":{"type":"null","description":"模拟账户初始资金"},"stpAccount":{"type":"null","description":"射单账号"},"codeMd5":{"type":"string","description":"代码MD5"},"stpPassword":{"type":"null","description":"射单用户密码"},"createBy":{"type":"string","description":"创建人"},"createTime":{"type":"integer","description":"创建时间"},"domain":{"type":"string","description":"域名"},"name":{"type":"string","description":"白标名称"},"appSecret":{"type":"string","description":"授权密钥"},"dataSourceType":{"type":"integer","description":"数据源类型。1-公共数据源；2-独立数据源"},"dbPassword":{"type":"null","description":"业务库初始密码"},"status":{"type":"integer","format":"long","description":"状态。 1-启用；2-禁用；3-删除；"},"companyType":{"type":"string","description":"公司类型。demo-模拟；real-真实；"},"associationCompanyId":{"type":"integer","description":"关联公司ID"}},"required":["code","startNumber","tradeTypes","timezone","bgImage","publicKey","bizName","updateBy","appId","logo","id","lang","adminPassword","adImage","adminRoleId","adminUserId","tradeTypeList","strId","endNumber","updateTime","stpLoginUser","initProgress","revision","token","demoInitialAmount","stpAccount","codeMd5","stpPassword","createBy","createTime","domain","name","appSecret","dataSourceType","dbPassword","status","companyType","associationCompanyId"],"description":"返回体"},"bizCode":{"type":"string","description":"模块标识码"},"tm":{"type":"integer","description":"处理时长（毫秒）"},"msgParams":{"type":"null","description":"返回描述中占位符参数串，多个参数间以,分割"},"ok":{"type":"boolean","description":"状态标志"}},"required":["msg","fail","trace","code","data","bizCode","tm","msgParams","ok"]}}},"headers":{}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.multimarkets.org/manager-api/geng-duo-.../jie-kou-ren-zheng-jian-quan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
