{
"provider": "feie",
"config": {
"user": "YOUR_USERNAME",
"ukey": "YOUR_UKEY",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"api_key": "YOUR_API_KEY",
"api_secret": "YOUR_API_SECRET"
},
"is_default": 1
}curl --location --request POST '/adminapi/system/printer-provider/update' \
--header 'access-token: {{access-token}}' \
--header 'refresh-token: {{refresh-token}}' \
--header 'manage-store-id: 1' \
--header 'Content-Type: application/json' \
--data-raw '{
"provider": "feie",
"config": {
"user": "YOUR_USERNAME",
"ukey": "YOUR_UKEY",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"api_key": "YOUR_API_KEY",
"api_secret": "YOUR_API_SECRET"
},
"is_default": 1
}'{
"code": 200,
"msg": "配置更新成功"
}