/
README
20 lines (17 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#Step 1
npm install -d
#Step 2
cd etc
cp unit.original.json unit.json
vi unit.json
#Step 3
#每次运行测试代码前请务必修改Blog.content和RepostMessage的内容
#unit.json 说明
{
"Blog" : {"id":22,"stock_code":"sz900000","in_time":1326767837,"send_time":0,"content":"【两市连续上攻个股一览(2012-01-18)】本周强于大盘个股排名前10 本周弱于大盘个股排名前10 【主力动向】 连续上涨个股排名前20 连续下跌个股排名前20 【市场热点】 今日成交活跃个股排名前20 本周概念板块涨幅排名前10…http://stock.jrj.com.cn/invest/2012/01/16154012064463.shtml","status":0},
"Account" : {"id" : 2312, "email" : "stock0@netgen.com.cn", "password" : "10658068", "weibo_user_id" : "2608714062", "stock_code" : "sz900000", "status" : 0, "access_token" : "4d823bac5457bb3047f5acba7cd268b7", "access_token_secret" : "4a71ed89a27afe6f75a0dfcc6fe7e2ca", "token_expire" : 4294967295, "authorize_code" : "1d9c88aa4e8ebc6a36470982193cac32", "authorize_verify" : "388609", "req_token_secret" : "eb493ffb51ad0848a93140141e9a25e5", "req_token" : "1d9c88aa4e8ebc6a36470982193cac32"},
"RepostId" : '3401770199850919',
"RepostMessage" : '转发转发'
}
#Step 4
node sendertest.js