微博超話管理工具是一款功能十分強(qiáng)大的微博輔助軟件,能夠?yàn)槟闾峁┳詣?dòng)轉(zhuǎn)換、隨機(jī)評(píng)論、批量賬號(hào)管理、指定數(shù)量轉(zhuǎn)發(fā)@,使用起來(lái)非常方便,是為偶像打CALL的好幫手。
文件說(shuō)明
ini - 配置文件
db - sqlite3數(shù)據(jù)庫(kù)
exe - 可執(zhí)行文件
可執(zhí)行文件說(shuō)明
UserImport - 導(dǎo)入用戶
Repair - 數(shù)據(jù)庫(kù)修復(fù)
EveryDay - 日常任務(wù)
workService - 操作臺(tái)
接口需求
需要有Default值 *
需要自動(dòng)遞增 +
需要自動(dòng)處理時(shí)間戳 ~
未標(biāo)明類型皆為 text(128)
時(shí)間戳皆為10位
上號(hào)器需要用到的數(shù)據(jù)接口
pushUserInfo(user,pass,mCookies,pCookies,mUA,pUA)
對(duì)User表的插入
id+int
user
pass
mCookies
pCookies
mUA
pUA
statusint*0
lockint*0
lasttimeint~(僅數(shù)據(jù)update時(shí)修改為當(dāng)前時(shí)間戳-86400)
user表新增的同時(shí)需要在quota表新增一條外鍵為 user_id 的記錄
id+int
user_idint
repostint*10
likeint*4
commentint*4
scoreint*0
lasttimeint*插入時(shí)的時(shí)間戳~(當(dāng) repost like comment score 皆為0時(shí)修改為當(dāng)前時(shí)間戳-86400)
接口簡(jiǎn)述:
client 會(huì)主動(dòng)調(diào)用 pushUserInfo 傳入 user pass mCookies pCookies mUA pUA 參數(shù) 皆為enurlCode(GBK)
******************************************
日常任務(wù)需要用到的數(shù)據(jù)接口
getUserByUnlockBeforYe(count)
select * from user where lasttime<此時(shí)時(shí)間戳-86400 and lock=0 status=0 order by id limit count
同步調(diào)用lockUserById
以下接口需自動(dòng)維護(hù)lasttime
lockUserById(userId)
update user set lock=1 where id=userId
unLockUserById(userId)
update user set lock=0 where id=userId
setErrUserById(userId)
update user set status=1 where id=userId
pushCommentWorkOrder(String tid) - 參數(shù)為純數(shù)字字串
向work表新建 type=99 count=0 total=25 lock=0 status=0 lasttime=現(xiàn)行時(shí)間戳 的記錄
changgeCommentWorkCount(workId,Count)
修改work記錄的Count值,如果Count=total 則 修改 status=1
popCommentWorkOrderExpUserID(userID)
此接口存在一個(gè)固定限制 同一個(gè)UserID可以獲取多個(gè)不同WorkInfo,但是同一WorkInfo不可被同一UserID獲取,同時(shí)獲取到的WorkInfo中status!=0
changgeQuotaInfo(userID,type,newVal)
type=enum(repost,like,comment,score)
根據(jù)userid和type更新quota表內(nèi)對(duì)應(yīng)記錄的值
resetUserQuota(userID)
重置對(duì)應(yīng)的userID下 的 repost like comment score值 分別為 10 4 4 0
*******************************************************
特定任務(wù)需要用到的數(shù)據(jù)接口
getUserByQuotaIsNotZeroExpWorkId(WorkId,type) return UserInfo
type=enum(repost,like,comment,score)
此接口存在多個(gè)固定限制 同一個(gè)userInfo 不可存在 同一個(gè)workID的查詢記錄 且 type指定的quota表中字段不可為0
同時(shí)獲取成功后 quota表內(nèi)對(duì)應(yīng)的字段值需要遞減 1