文档
测试

getAllBaseInfo

POST
api.thinker2021.cn

接口描述

获取站点全局基础信息(包括敏感信息)

请求参数

参数名
类型
描述
必填
_username
string
用户名
必填
_token
string
token密钥
必填
_usertype
string
用户类型
必填
_request
string
请求类型,要求必须为getAllBaseInfo
必填

响应参数

参数名
类型
描述
必填
code
int
错误代码(0为成功,其他均为请求失败)
必填
info
string
错误信息
必填
title
string
站点标题
必填
logo
string
站点logo的url地址
必填
firm_name
string
团队名称
必填
setup_date
string
站点建立日期
必填
token_key
string
token加密密钥
必填
effect_time
int
token有效时间
必填
copyright_format
string
站点保留权利信息格式
必填
view_server
string
前端访问地址
必填
api_server
string
后端访问地址
必填
js_path
string
站点js文件地址
必填
htm_path
string
站点htm文件地址
必填

说明 / 示例

# Request Example ```json data={ "_username":"zhangsan", "_token":"66e4583b05c2473d9a6786da864f83de", "_usertype":"admin", "_request":"getAllBaseInfo" } ``` # Response Example * If the request is successful, you will get response like this: ```json { "code":0, "info":"Success!", "title":"中小微企业跨组织人才管理系统", "logo":"https://s1.imagehub.cc/images/2021/02/26/logo74cb7888e4dd5a89.png", "firm_name":"Thinker™ 思客", "setup_date":"2021.02.24", "token_key":"TV$1213FG", "effect_time":"3600", "copyright_format":"$title$ Copyright © $setup_date$-$current_date$ 大连海事大学$firm_name$团队. All rights reserved. ", "view_server":"https://www.thinker2021.cn", "api_server":"https://api.thinker2021.cn/", "js_path":"https://www.thinker2021.cn/pages/js/", "htm_path":"https://www.thinker2021.cn/pages/htm/" } ``` * If your request is illegal, you will get response like this: ```json { "code":1, "info":"Illegal Request!" }