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