服务时间
开发中
POST
/staffapi/staff/serviceTime
请求参数
Header 参数
token
string
必需
默认值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/staffapi/staff/serviceTime' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
day
array [object {2}]
必需
service_time
object
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"day": [
{
"date": "string",
"desc": "string"
}
],
"service_time": {
"11-07": [
{
"time": "string",
"status": 0
}
],
"11-08": [
{
"time": "string",
"status": 0
}
],
"11-09": [
{
"time": "string",
"status": 0
}
],
"11-10": [
{
"time": "string",
"status": 0
}
],
"11-11": [
{
"time": "string",
"status": 0
}
],
"11-12": [
{
"time": "string",
"status": 0
}
],
"11-13": [
{
"time": "string",
"status": 0
}
]
}
}
}
修改于 2024-11-07 07:23:46