Interface to get the contact information

API Call Address

{域名地址}/api/setting/contact

Description:{域名地址}Need to replace it with your domain address, such ashttps://en.anqicms.com/api/setting/contact

Calling method

GET

Request parameters

None

Return parameters

Field name Type Description
code int error code
msg string error reason description
data object result content

data result parameters

Field name Type Description
UserName string Contact person
Cellphone string Contact phone number
Address string Contact address
Email string Contact Email
Wechat string Contact WeChat
Qrcode string WeChat QR Code
Custom parameters string Custom parameters in the background contact information

request data example

None

Return Data Example

WhatsApp is the specified parameter, and more custom parameters will also be displayed here

{
  "code": 0,
  "data": {
    "Address": "广东省深圳市南山区深南大道xxx号",
    "Cellphone": "13888888888",
    "Email": "61470255@qq.com",
    "Qrcode": "https://en.anqicms.com/uploads/202209/06/64d0c4ee3e877dd6.webp",
    "UserName": "张大仙",
    "Wechat": "13888888888",
    "WhatsApp": "+8613888888888"
  },
  "msg": ""
}

Error Code

error code Description
0 OK
-1 Error, the reason is indicated in the msg
1001 Not logged in
1002 Unauthorized
200 API request OK