企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 用户我的家数据 ~~~ call('town.home.user.data', [$uid]) ~~~ ~~~[api] post:town.home.user.data *uid=0#用户ID <<< success Array ( [result] => Array ( [level] => 0 //用户当前等级 [exp] => 200 //用户当前等级已获得的经验值 [built] => 20 //用户已建造建筑数量 [state] => 0 //当前等级是否可以建造 0可以 1不可以 [next_level] => 1 //下一个等级 [current] => Array //当前等级基础数据 ( [id] => 3 [level_name] => 等级1 [level] => 0 [graph] => http://1.xxx //图形 [territories] => 20 //领地数量 [total_exp] => 10000 //总经验 [pre_flower] => 100 //每次建造需要小红花 [pre_exp] => 100 //每次建造获得经验值 [pre_prosperity] => 10 //每次建造获得繁荣度 [crit_rate] => 20 //暴击几率 [up_magic] => 100 //升级所需魔法水晶 [up_flower] => 100 //升级所需小红花 [enable] => 1 [ctime] => 2019-09-10 18:27:31 [utime] => 2019-09-10 18:27:31 ) [next] => Array ( [id] => 4 [level_name] => 等级2 [level] => 1 [graph] => http://1.xxx [territories] => 20 [total_exp] => 10000 [pre_flower] => 100 [pre_exp] => 100 [pre_prosperity] => 10 [crit_rate] => 20 [up_magic] => 200 [up_flower] => 100 [enable] => 1 [ctime] => 2019-09-10 18:27:47 [utime] => 2019-09-10 18:27:47 ) ) ) ~~~