ecode_detail.h 392 B

123456789101112131415
  1. /*
  2. * Copyright (c) 2026, QXZ
  3. *
  4. * ecode 事件 detail 文案表接口(UTF-8 实现)
  5. * 业务代码只传 (code, para),不要自己拼中文
  6. */
  7. #ifndef __ECODE_DETAIL_H__
  8. #define __ECODE_DETAIL_H__
  9. #include <stdint.h>
  10. // 取事件描述,返回 UTF-8 字符串;表里没有则返回空串,不会返回 NULL
  11. const char *ecode_detail_text(uint16_t code, uint16_t para);
  12. #endif