Tencent / APIJSON

🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构 🏆 Real-Time coding-free, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and the returned JSON of API can be customized by Frontend(Client) users
http://apijson.cn
Other
17.14k stars 2.15k forks source link

【问题咨询】响应结果的类型转换 #703

Closed CarsonYue closed 5 months ago

CarsonYue commented 5 months ago

Description

{
    "EnterprisePartner": {
        "id": 1,
        "tenant_id": 1001,
        "ent_code": "C202",
        "ent_name": "北京有限公司",
        "ent_type": 1,
        "owner_name": "北京有限公司",
        "tax_number": "9111000072261280XB",
        "state": 1,
        "address": "北京市石景山区",
    },
    "@id": 1,
    "ok": true,
    "code": 200,
    "msg": "success"
}

以上为我的查询响应结果,我的数据库中id为bigint类型,我想在响应结果中将其转换为String,如何实现?

### Tasks