https://developers.weixin.qq.com/miniprogram/dev/devtools/api-mock.html
我 mock数据是
{"code":200,"data":{"total":2,"list":[{"bankCode":"ICBC","bankName":"中国工商银行","cardNumber":"6222021202034567890","fullName":"张三","idCard":"110101199001011234","phoneNumber":"13800138000","uuid":"bc123456-7890-abcd-ef12-34567890abcd"},{"bankCode":"CCB","bankName":"中国建设银行","cardNumber":"6217001234567890123","fullName":"张三","idCard":"110101199001011234","phoneNumber":"13800138000","uuid":"bcabcdef-1234-5678-90ab-cdef12345678"}]},"resultMessage":""}
为什么接口返回的会包 code 和 resultMessage 这个层给去掉
我使用的 trao 开发的
文档示例不是给了,你自己的数据要写进 data 里