在给微信公众号[增加比特股内盘账户资产查询时](https://steemit.com/price/@oflyhigh/3wjftb-and),我遇到一个麻烦,bitshares系统中活跃的资产多达740项,不活跃的资产更是数不胜数。而读取账户资产的API返回的账户资产项目中,资产用ID的形式表示。那么,要把资产已可阅读的方式展现,则需要再用ID去查询资产的信息。 另外,资产项目中,资产以整数形式呈现,比如你账户中8.88bitCNY,那么资产项目中保存的数据为88800,所以我们需要知道资产的精度,以便于程序做出正确的处理。 如果是其它程序类型,我们在读回账户资产后,可以再逐项调用API读取对应资产数据(符号,精度等),然后再去进行处理。但是多次调用API会消耗很多时间,而微信又有5秒钟的时间限制。在API节点延迟大、微信时间限制短的前提下,如果一个用户资产项目过多,那么读取用户资产将会遇到问题。  (图源 :[pixabay](https://pixabay.com)) # 原始的解决办法 为了解决这个问题,我在程序中做了一些变通: * 只处理指定类型的资产 * 将对应资产数据(ID、符号、精度)直接编码在程序中 比如我只支持这些资产: ***`"1.3.0", "1.3.113", "1.3.121", "1.3.1999", "1.3.973"`*** 那么获取用户资产的API就可以 这样调用 `curl -s --data '{"jsonrpc": "2.0", "method": "get_named_account_balances", "params": ["oflyhigh", ["1.3.0", "1.3.113", "1.3.121", "1.3.1999", "1.3.973"]], "id": 1}' https://openledger.hk/ws` 返回内容如下:  然后在程序中,我就可以这样逐项处理返回的资产: ``` switch($asset["asset_id"]) { case "1.3.0": $symbol="BTS"; $precision = 5; break; case "1.3.113": $symbol="CNY"; $precision = 4; break; case "1.3.121": $symbol="USD"; $precision = 4; break; case "1.3.1999": $symbol="OPEN.EOS"; $precision = 6; break; default: break; } ``` 然后再去处理资产余额以及符号等就方便了。 # 新的办法 上述方法,在处理几项有限的资产时,没有什么问题。但当资产数目达到十多项时,我发现我彻底懵逼了。这些ID都是啥啊,和谁对应啊?我陷入彻底的混乱当中。于是我在想,必须对这部分代码进行重构了。 首先,我制作了这样一个包含数组的数组: ``` $assets = array( array("symbol"=>"BTS", "id"=>"1.3.0", "precision"=>5), array("symbol"=>"CNY", "id"=>"1.3.113", "precision"=>4), array("symbol"=>"USD", "id"=>"1.3.121", "precision"=>4), array("symbol"=>"OPEN.EOS", "id"=>"1.3.1999", "precision"=>6), } ``` 上述数组中保存了,我程序支持的一些资产的数据(ID、符号、精度) 但是该如何使用这个数组我遇到一些问题。 #### 生成资产ID列表 前边我们说过,我使用`get_named_account_balances`这个API调用返回账户资产,除了传入账户名以外,还要传入要获取的资产列表,比如:***`"1.3.0", "1.3.113", "1.3.121", "1.3.1999", "1.3.973"`*** 那么如何从上述数组中生成列表呢? 一种方式是我做一个循环来遍历数组元素,获取每项资产的ID,生成新的数组。一听起来就不优雅。于是我使用了如下代码生成列表: ``` function get_id($v){ return $v["id"]; } $asset_ids = array_map(get_id, $assets); ``` 其中使用了***PHP函数`array_map`以及我们自己定义的回调函数***,是不是看起来就很先进? #### 查询数组 继续回到我们的问题上来,在前边我们说过,之前我们使用***`switch分支处理`***,来处理每项资产。那么有了上述资产数组定义后,我们当然不能在继续用分支处理了。那么如何处理呢? 一种方式还是循环,循环是万能的,循环然后对比资产ID,对上了,再去处理。这样做的一个弊端是需要循环好多次,效率低下。 另外有一些类似使用回调函数搜索数组的功能,看了一下感觉效率也不会高到哪里去。 从我们阅读的角度来看,我们知道了某个ID,可以直接去数组中找到对应项,那么我们程序中该如何实现呢?想了一下,最好的办法是给数组定义的时候用ID做KEY, ``` $assets = array( "1.3.0"=>array("symbol"=>"BTS", "precision"=>5), "1.3.113"=>array("symbol"=>"CNY", "precision"=>4), "1.3.121"=>array("symbol"=>"USD", "precision"=>4), "1.3.1999"=>array("symbol"=>"OPEN.EOS", "precision"=>6), } ``` 啊啊啊啊,这写法触发了我的强迫症,太不优雅了!让我这样写代码不如杀了我吧,那有没有办法让程序自动给它加上KEY呢,这样就眼不见心不烦了。 最终,我终于找到一种方法 ``` function get_id($v){ return $v["id"]; } $asset_ids = array_map(get_id, $assets); $assets_new = array_combine($asset_ids, $assets); ``` 其中使用了***PHP函数`array_combine`***将KEY和原来的数组组合起来。其中前些行代码我们之前就用到了, 所以只多了最后一行代码哦。 #### 修改数组 在读回用户账户资产后,我们需要对用户的每项资产进行处理,计算数值、加上名称等等 比如将 `{'amount': 500000000, 'asset_id': '1.3.0'}`处理成类似`5000 BTS`的样子 于是我写了类似如下的循环 ``` foreach ($balances as $asset){ $asset["xxx"] = xxxxx; } ``` 然而执行完毕,居然啥都没有变,还好脑袋里还有按值传递按引用传递的概念,将代码修改如下: ``` foreach ($balances as &$asset){ $asset["xxx"] = xxxxx; } ``` 瞬间搞定。 #### 新增资产 有了上述工作后,再新增加新的资产变得特别方便。比如我们要加入OPEN.DOGE支持,只需在上述数组中加入新的条目: ` array("symbol"=>"OPEN.DOGE", "id"=>"1.3.860", "precision"=>4),` 增减资产从此变得如此简单。 # 总结  (图源 :[pixabay](https://pixabay.com)) 通过简化处理资产的类型以及在程序中直接编码资产的数据,使得微信公众号可以很迅速得响应查询账户资产的请求。 通过使用`array_map`、`array_combine`、`按引用传递`以及`嵌套函数定义`等,使得程序更加便于阅读和维护。 PHP果然是世界上最好的语言,哈哈哈,不服来辩! # 相关链接 * http://php.net/manual/en/function.array-map.php * http://www.php.net/manual/en/function.array-combine.php
author | oflyhigh |
---|---|
permlink | php |
category | php |
json_metadata | {"tags":["php","programming","cn-programming","cn","bitshares"],"image":["https://steemitimages.com/DQmeLv7EMYodCHY3QPBcCy5Y1jhdUPUUSiyA2VnYPhH3Gcw/image.png","https://steemitimages.com/DQmc13APZwwuJsCdjUiDHprteAVsB1ECgqezfyKJgSrrcub/image.png","https://steemitimages.com/DQmZJJt9g1ndv8XXB3Ate1JqoRdxYzVAyGECe5dWvyUMcdN/image.png"],"links":["https://steemit.com/price/@oflyhigh/3wjftb-and","https://pixabay.com","http://php.net/manual/en/function.array-map.php","http://www.php.net/manual/en/function.array-combine.php"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-01-11 03:03:57 |
last_update | 2018-01-11 03:03:57 |
depth | 0 |
children | 14 |
last_payout | 2018-01-18 03:03:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 120.532 HBD |
curator_payout_value | 20.836 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,902 |
author_reputation | 6,318,579,919,191,648 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,647,482 |
net_rshares | 17,114,433,473,537 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 87,128,839,122 | 0.1% | ||
abit | 0 | 6,116,943,814,782 | 100% | ||
mark-waser | 0 | 92,122,537,809 | 100% | ||
arcange | 0 | 13,984,259,775 | 4% | ||
deanliu | 0 | 1,089,978,156,659 | 100% | ||
raphaelle | 0 | 1,902,577,664 | 4% | ||
joythewanderer | 0 | 178,586,842,520 | 25% | ||
ace108 | 0 | 234,993,822,376 | 25% | ||
magicmonk | 0 | 42,868,401,440 | 30% | ||
laoyao | 0 | 30,991,415,579 | 100% | ||
somebody | 0 | 1,194,014,803,939 | 100% | ||
midnightoil | 0 | 51,449,380,555 | 100% | ||
xiaohui | 0 | 789,466,201,807 | 100% | ||
oflyhigh | 0 | 2,211,155,601,219 | 100% | ||
xiaokongcom | 0 | 9,662,703,340 | 100% | ||
yulan | 0 | 15,190,413,322 | 100% | ||
chinadaily | 0 | 187,924,813,255 | 100% | ||
helene | 0 | 421,305,484,781 | 100% | ||
ethansteem | 0 | 198,125,068,514 | 100% | ||
wuyueling | 0 | 257,624,143 | 100% | ||
englishtchrivy | 0 | 76,689,543,037 | 19% | ||
davidjkelley | 0 | 5,530,330,343 | 100% | ||
digital-wisdom | 0 | 46,081,256,080 | 100% | ||
ethical-ai | 0 | 14,541,635,657 | 100% | ||
jwaser | 0 | 23,364,950,170 | 100% | ||
bwaser | 0 | 6,521,892,325 | 100% | ||
ellepdub | 0 | 1,421,343,584 | 100% | ||
herpetologyguy | 0 | 235,605,463,001 | 100% | ||
morgan.waser | 0 | 12,810,651,982 | 100% | ||
handyman | 0 | 5,110,334,602 | 100% | ||
strong-ai | 0 | 12,961,651,465 | 100% | ||
dylanhobalart | 0 | 776,893,900 | 8% | ||
redes | 0 | 1,417,583,942,821 | 29% | ||
lalala | 0 | 43,095,602,699 | 100% | ||
devilwsy | 0 | 2,145,188,725 | 100% | ||
janiceting | 0 | 2,168,646,384 | 100% | ||
lydiachan | 0 | 34,089,444,033 | 100% | ||
technoprogressiv | 0 | 12,816,341,693 | 100% | ||
blackbunny | 0 | 71,739,909,085 | 100% | ||
ripperone | 0 | 1,362,096,761,160 | 29% | ||
bxt | 0 | 167,934,312,544 | 100% | ||
lingfei | 0 | 31,810,643,397 | 100% | ||
mattiusmaximus | 0 | 1,657,395,846 | 100% | ||
yyyy | 0 | 6,858,508,017 | 100% | ||
ainiaziz | 0 | 722,236,796 | 100% | ||
ygern | 0 | 6,925,338,837 | 21% | ||
cqf | 0 | 1,243,600,661 | 1% | ||
htliao | 0 | 139,147,016,213 | 44% | ||
etcbits | 0 | 324,444,907 | 100% | ||
leomichael | 0 | 89,159,658,345 | 6% | ||
dailygiveaway | 0 | 369,334,115 | 60% | ||
arkoko | 0 | 5,987,343,648 | 100% | ||
exec | 0 | 75,243,244,159 | 100% | ||
eval | 0 | 750,166,451 | 100% | ||
thebookofuma | 0 | 18,280,715,028 | 100% | ||
susanli3769 | 0 | 14,496,284,427 | 37% | ||
loveiskey | 0 | 2,640,910,613 | 100% | ||
planet-power | 0 | 9,902,701,069 | 100% | ||
hannahwu | 0 | 4,586,901,697 | 44% | ||
liangfengyouren | 0 | 2,100,143,627 | 50% | ||
idx | 0 | 21,602,313,154 | 100% | ||
jiangchen | 0 | 360,061,984 | 100% | ||
skenan | 0 | 82,557,927,170 | 100% | ||
holaglendy | 0 | 597,967,453 | 100% | ||
kanxsh | 0 | 1,097,843,886 | 100% | ||
dgorbunov | 0 | 567,040,232 | 100% | ||
ytienchu | 0 | 617,812,908 | 44% | ||
brendashockley | 0 | 74,066,400 | 25% | ||
dennisphillips | 0 | 77,152,500 | 25% | ||
grafinx | 0 | 4,918,158,141 | 100% | ||
technicalteam | 0 | 535,116,525 | 100% | ||
alanzheng | 0 | 67,821,821 | 2% | ||
metalgrowartinc | 0 | 1,158,348,737 | 100% | ||
rana420 | 0 | 547,017,474 | 100% | ||
cnbuddy | 0 | 3,001,755,287 | 0.64% | ||
esteemsssj | 0 | 543,715,468 | 100% | ||
shallwey | 0 | 310,324,050 | 100% | ||
lebin | 0 | 36,440,764,782 | 100% | ||
enjoyy | 0 | 470,061,156 | 100% | ||
d-cloud | 0 | 237,900,355 | 100% | ||
rojinstha13 | 0 | 592,992,500 | 100% | ||
znx | 0 | 13,059,948,432 | 100% | ||
antonsteemit | 0 | 2,668,876,577 | 100% | ||
haiqal | 0 | 387,114,841 | 100% | ||
axhquan | 0 | 940,157,568 | 100% | ||
bold42 | 0 | 227,543,674 | 100% | ||
farah-kamran | 0 | 162,962,918 | 100% | ||
matthewguo | 0 | 614,860,000 | 100% | ||
haseebkhan13 | 0 | 80,050,087 | 100% | ||
omradk | 0 | 369,093,250 | 100% | ||
biplab818 | 0 | 448,585,000 | 100% | ||
andreina89 | 0 | 421,546,119 | 100% | ||
wickedgoose | 0 | 73,456,341 | 100% | ||
yaniecyag | 0 | 79,885,000 | 100% | ||
soneo | 0 | 202,785,000 | 100% | ||
shawn-gu | 0 | 614,500,000 | 100% | ||
almariah | 0 | 473,131,422 | 100% | ||
napa | 0 | 159,758,662 | 100% | ||
varun1712 | 0 | 516,141,049 | 100% | ||
wangen83 | 0 | 614,448,092 | 100% | ||
jorgebarbera | 0 | 125,961,858 | 100% | ||
yangjun | 0 | 471,059,920 | 100% |
Extraordinary post friend
author | aligaby89 |
---|---|
permlink | re-oflyhigh-php-20180111t034425417z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 03:44:30 |
last_update | 2018-01-11 03:44:30 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 03:44:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 25 |
author_reputation | 123,192,751,457 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,654,170 |
net_rshares | 0 |
Excellent post friend
author | andreina89 |
---|---|
permlink | re-oflyhigh-php-20180111t033054695z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 03:30:57 |
last_update | 2018-01-11 03:30:57 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 03:30:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 21 |
author_reputation | 293,329,115,146 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,652,059 |
net_rshares | 156,813,374 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
farah-kamran | 0 | 156,813,374 | 100% |
nice post .https://steemit.com/photography/@biplab818/short-speech-on-friendship
author | biplab818 |
---|---|
permlink | re-oflyhigh-php-20180111t034948240z |
category | php |
json_metadata | {"tags":["php"],"links":["https://steemit.com/photography/@biplab818/short-speech-on-friendship"],"app":"steemit/0.1"} |
created | 2018-01-11 03:49:48 |
last_update | 2018-01-11 03:49:48 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 03:49:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 80 |
author_reputation | 1,249,813,073 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,655,035 |
net_rshares | 0 |
https://steemit.com/cn/@crypto-king-pak/282kks 
author | crypto-king-pak |
---|---|
permlink | re-oflyhigh-php-20180115t071141823z |
category | php |
json_metadata | {"tags":["php"],"image":["https://steemitimages.com/DQmchXoTgb6Dva1JbtRv7YXCE47C3fbiM6exwdFaYAykkzB/20180115_114704.jpg"],"links":["https://steemit.com/cn/@crypto-king-pak/282kks"],"app":"steemit/0.1"} |
created | 2018-01-15 07:11:45 |
last_update | 2018-01-15 07:11:45 |
depth | 1 |
children | 0 |
last_payout | 2018-01-22 07:11:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 164 |
author_reputation | 10,546,028,443 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,639,787 |
net_rshares | 0 |
虽然不大懂,还是装着看懂了的样子,我不露馅。 最后只有点赞然后离开,门槛有点高。
author | enjoyy |
---|---|
permlink | re-oflyhigh-php-20180111t035443953z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 03:50:24 |
last_update | 2018-01-11 03:51:15 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 03:50:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 40 |
author_reputation | 342,844,941,159 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,655,124 |
net_rshares | 0 |
https://steemit.com/bitcoin/@farah-kamran/bitshares-news
author | farah-kamran |
---|---|
permlink | re-oflyhigh-php-20180112t065832765z |
category | php |
json_metadata | {"tags":["php"],"links":["https://steemit.com/bitcoin/@farah-kamran/bitshares-news"],"app":"steemit/0.1"} |
created | 2018-01-12 06:59:12 |
last_update | 2018-01-12 06:59:12 |
depth | 1 |
children | 0 |
last_payout | 2018-01-19 06:59:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 56 |
author_reputation | 175,703,680,965 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,937,760 |
net_rshares | 0 |
Es una información compleja la que das, pero gracias por compartirla It is a complex information that you give, but thanks for sharing it. 這是一個複雜的信息,你給,但感謝分享它。
author | marting |
---|---|
permlink | re-oflyhigh-php-20180111t031117898z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 03:11:18 |
last_update | 2018-01-11 03:11:18 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 03:11:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 161 |
author_reputation | 2,160,066,223,141 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,648,757 |
net_rshares | 0 |
https://steemit.com/price/@oflyhigh/3wjftb-and
author | oflyhigh |
---|---|
permlink | re-oflyhigh-php-20180111t034529298z |
category | php |
json_metadata | {"tags":["php"],"links":["https://steemit.com/price/@oflyhigh/3wjftb-and"],"app":"steemit/0.1"} |
created | 2018-01-11 03:45:33 |
last_update | 2018-01-11 03:45:33 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 03:45:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 46 |
author_reputation | 6,318,579,919,191,648 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,654,353 |
net_rshares | 0 |
ruby才是世界上最好的语言
author | qiyan |
---|---|
permlink | re-oflyhigh-php-20180111t093313950z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 09:33:15 |
last_update | 2018-01-11 09:33:15 |
depth | 1 |
children | 0 |
last_payout | 2018-01-18 09:33:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 14 |
author_reputation | 146,161,255 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,710,392 |
net_rshares | 0 |
求相互点赞~加点赞群 https://steemit.com/cn/@yangjun/steemit
author | yangjun |
---|---|
permlink | re-oflyhigh-php-20180116t055101018z |
category | php |
json_metadata | {"tags":["php"],"links":["https://steemit.com/cn/@yangjun/steemit"],"app":"steemit/0.1"} |
created | 2018-01-16 05:51:00 |
last_update | 2018-01-16 05:51:00 |
depth | 1 |
children | 0 |
last_payout | 2018-01-23 05:51:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 50 |
author_reputation | 4,737,330,702 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,868,777 |
net_rshares | 0 |
您的公众号是多少,我去关注一下,我从事的行业和您这个有关!学习一下!
author | zhanxiao |
---|---|
permlink | re-oflyhigh-php-20180111t033214796z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 03:32:18 |
last_update | 2018-01-11 03:32:18 |
depth | 1 |
children | 3 |
last_payout | 2018-01-18 03:32:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 34 |
author_reputation | 63,512,851,996 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,652,275 |
net_rshares | 159,888,146 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
farah-kamran | 0 | 159,888,146 | 100% |
https://steemit.com/price/@oflyhigh/3wjftb-and
author | oflyhigh |
---|---|
permlink | re-zhanxiao-re-oflyhigh-php-20180111t034551178z |
category | php |
json_metadata | {"tags":["php"],"links":["https://steemit.com/price/@oflyhigh/3wjftb-and"],"app":"steemit/0.1"} |
created | 2018-01-11 03:45:54 |
last_update | 2018-01-11 03:45:54 |
depth | 2 |
children | 2 |
last_payout | 2018-01-18 03:45:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 46 |
author_reputation | 6,318,579,919,191,648 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,654,407 |
net_rshares | 0 |
woi backin got me send
author | teukuhafizhmuly |
---|---|
permlink | re-oflyhigh-re-zhanxiao-re-oflyhigh-php-20180111t073830599z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 07:38:30 |
last_update | 2018-01-11 07:38:30 |
depth | 3 |
children | 0 |
last_payout | 2018-01-18 07:38:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 22 |
author_reputation | -416,373,312,123 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,690,820 |
net_rshares | 0 |
已关注!!谢谢
author | zhanxiao |
---|---|
permlink | re-oflyhigh-re-zhanxiao-re-oflyhigh-php-20180111t034711409z |
category | php |
json_metadata | {"tags":["php"],"app":"steemit/0.1"} |
created | 2018-01-11 03:47:15 |
last_update | 2018-01-11 03:47:15 |
depth | 3 |
children | 0 |
last_payout | 2018-01-18 03:47:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 7 |
author_reputation | 63,512,851,996 |
root_title | "PHP是世界上最好的语言 / 重构了部分代码" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 28,654,624 |
net_rshares | 0 |