查看插件返回(github)

 rm.get_account_limits( result.account_name, result.ram_quota, result.net_weight, result.cpu_weight );

查看资源设置(github)

set_resource_limits( res_itr->owner, res_itr->ram_bytes + ram_gift_bytes, net, cpu );

结论

ram_bytes是实际买的RAM 大小,ram_quota 是加上了 赠送的ram_gift_bytes(等于1400)(github)

验证

cleos -u https://api.eoslaomao.com get account bcskillsurou

返回

memory:
     quota:     4.348 KiB    used:      3.49 KiB

查看账户资源表

cleos -u https://api.eoslaomao.com get table eosio bcskillsurou userres

返回

{
  "rows": [{
      "owner": "bcskillsurou",
      "net_weight": "0.0046 EOS",
      "cpu_weight": "0.0147 EOS",
      "ram_bytes": 3052
    }
  ],
  "more": false,
  "next_key": ""
}

计算
quota 与 ram_bytes差值等于 1400,与ram_gift_bytes值一致。