站点配置接口
    url localhost:8080/config/configurations
    http请求方式 get
    参数
    Authorization(head请求头) 必填(token)
    返回值
    200 {
    “code”: “200”,
    “message”: “请求成功!”,
    “data”: {
    “webName”: “stepforward_cms”,
    “webUrl”: “http://192.168.0.106:81“,
    “logo”: “/picture/log”,
    “logo2”: “/picture/log2”,
    “footerLogo”: “stepforward_cms”,
    “avatar”: “http://192.168.0.106:81“,
    “siteStatus”: “/picture/log”,
    “closeInfo”: “/picture/log2”,
    “disableIP”: “stepforward_cms”,
    “disableInfo”: “http://192.168.0.106:81“,
    “webKey”: “关键字”,
    “webDescription”: “/picture/log2”,
    “copyright”: “stepforward_cms”,
    “copyrightSimple”: “http://192.168.0.106:81“,
    “allowReg”: “/picture/log”,
    “disableRegInfo”: “/picture/log2”,
    “loginType”: “stepforward_cms”,
    “checkType”: “http://192.168.0.106:81“,
    “qqAppId”: “/picture/log”,
    “qqAppKey”: “/picture/log2”,
    “wechatId”: “stepforward_cms”,
    “wechatKey”: “http://192.168.0.106:81“,
    “bulletinId”: “/picture/log”,
    “tokenExpired”: “/picture/log2”,
    “regAgreement”: “stepforward_cms”,
    “payAgreement”: “http://192.168.0.106:81“,
    “mailFrom”: “stepforward_cms”,
    “topAd”: “http://192.168.0.106:81“,
    “beforeAd”: “/picture/log”,
    “afterAd”: “/picture/log2”,
    “bottomAd”: “stepforward_cms”,
    “sideAd”: “http://192.168.0.106:81“,
    “smtpssl”: “/picture/log2”,
    “smtppassword”: “stepforward_cms”,
    “smtpfrom”: “http://192.168.0.106:81“,
    “smtphost”: “/picture/log”,
    “smtpmail”: “/picture/log2”,
    “smtpport”: “/picture/log”
    }
    }
    500 服务器内部错误
    401 {
    code“: “401”,
    message“: “没有找到token,没有权限访问!”,
    “data”: null
    }

    {
    code“: “401”,
    message“: “token不正确”,
    “data”: null
    } |