2
0

test_schema.js 361 B

12345678910111213
  1. // 简单测试schema语法
  2. const schema = {
  3. user: {
  4. id: 1,
  5. username: "wx_1764673897616_aeevhi",
  6. phone: null,
  7. openid: "ov95P19u38KzJUwNymZXriMiXqoQ"
  8. }
  9. };
  10. console.log("测试数据:", JSON.stringify(schema, null, 2));
  11. console.log("user.openid 存在:", schema.user.openid !== undefined);
  12. console.log("user.openid 值:", schema.user.openid);