token: ********************
{
"name": "测试供应商",
"code": "GYS2024123001",
"region_id": 1404,
"legal_person_name": "法人",
"register_capital": 100,
"usc_code": "统一社会代码",
"certifying_authority": "发证机关",
"certifying_time": 1735539551, // 发证时间
"certifying_expired": null, // 证书过期时间
"is_unlimited": true, // 证书是否无限期,true=无限期,false=有限时间
"taxpayer_type": 1,
"tax_rate": 6,
"tax_agency": null,
"bank_name": "开户行",
"bank_no": "123456",
"mobile": "17602249207",
"ceo": "负责人",
"ceo_mobile": "17602249207",
"email": "abc@qq.com",
"business_scope": "经营范围",
"brief": "简介",
"cate_id_list": [13,14], // 分类id
}
curl --location --request POST 'http://cmi-api.gleg.site/api/suppliers' \
--header 'Content-Type: application/json' \
--header 'token;' \
--data-raw '{
"name": "测试供应商",
"code": "GYS2024123001",
"region_id": 1404,
"legal_person_name": "法人",
"register_capital": 100,
"usc_code": "统一社会代码",
"certifying_authority": "发证机关",
"certifying_time": 1735539551, // 发证时间
"certifying_expired": null, // 证书过期时间
"is_unlimited": true, // 证书是否无限期,true=无限期,false=有限时间
"taxpayer_type": 1,
"tax_rate": 6,
"tax_agency": null,
"bank_name": "开户行",
"bank_no": "123456",
"mobile": "17602249207",
"ceo": "负责人",
"ceo_mobile": "17602249207",
"email": "abc@qq.com",
"business_scope": "经营范围",
"brief": "简介",
"cate_id_list": [13,14], // 分类id
}'
{
"code": 0,
"msg": "string"
}