2024-11-22 02:18:06 +08:00
|
|
|
from grpc.postProcessor import upload, remove
|
2024-11-22 02:14:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
def serve():
|
|
|
|
pass
|
|
|
|
|
2024-11-22 02:18:06 +08:00
|
|
|
""" # for testing
|
2024-11-22 02:14:01 +08:00
|
|
|
def _serve():
|
|
|
|
print(IG.account_info())
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
return
|
|
|
|
aid = 57
|
|
|
|
|
|
|
|
msg, err = upload(aid)
|
|
|
|
if err:
|
|
|
|
print(msg)
|
|
|
|
return
|
|
|
|
|
|
|
|
input("Press any key...")
|
|
|
|
|
|
|
|
DBHelper.solo_article_updater(id=aid, code=msg)
|
|
|
|
|
|
|
|
msg, err = remove(aid)
|
|
|
|
if err:
|
|
|
|
print(msg)
|
2024-11-22 02:18:06 +08:00
|
|
|
return
|
|
|
|
"""
|