zuodengchao opened a new issue #4777:
URL: https://github.com/apache/apisix/issues/4777


   local core=require("apisix.core")
   local 
nosign="{\"msg\":\"参数不正确\",\"code\":1234567890123456789,\"errmsg\":\"SIGN_INVALID\"}";
    local obj=core.json.decode(nosign)
    core.log.warn("core conf:",core.json.encode(obj))
   
   
   
   输出:
   
   2021/08/08 14:26:38 [warn] 43#43: *2876 [lua] zdc.lua:20: phase_func(): core 
conf:{"errmsg":"SIGN_INVALID","code":1.2345678901235e+18,"msg":"参数不正确"}, 
client: 127.0.0.1, server: _, request: "POST /api/system/feedback/list 
HTTP/1.1", host: "192.168.2.15:9080"
   
   问题:
    对于json 中的code 可否完整输出
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to