コード例 #1
0
ファイル: run.py プロジェクト: HIKQ/99
def main():
    user=os.environ["USER"]
    pass1=os.environ["PASSWORD"]
    invitecode=os.environ["INVITECODE"]
    points=lianzhong_api.get_points(user,pass1)
    points=points.json()['data']
    print('剩余点数:'+str(points))
    if int(points)<=2:
        print('点数不足!!')
        time.sleep(5)
        telegram_bot("p++", '点数不足!')
        exit()
    else:
        print('start')
        p_main(user,pass1,invitecode)
コード例 #2
0
ファイル: run.py プロジェクト: ppzyssr/PJJ
def main():  #line:244
    O0000000OO0000O00 = os.environ["USER"]  #line:245
    OOOOOO0OO0O0OO000 = os.environ["PASSWORD"]  #line:246
    O00O0O0O0OO00OO00 = os.environ["INVITECODE"]  #line:247
    O0O0OOO0O00000O00 = lianzhong_api.get_points(O0000000OO0000O00,
                                                 OOOOOO0OO0O0OO000)  #line:248
    O0O0OOO0O00000O00 = O0O0OOO0O00000O00.json()['data']  #line:249
    print('剩余点数:' + str(O0O0OOO0O00000O00))  #line:250
    if int(O0O0OOO0O00000O00) <= 2:  #line:251
        print('点数不足!!')  #line:252
        time.sleep(5)  #line:253
        telegram_bot("p++", '点数不足!')  #line:254
        exit()  #line:255
    else:  #line:256
        print('start')  #line:257
        p_main(O0000000OO0000O00, OOOOOO0OO0O0OO000,
               O00O0O0O0OO00OO00)  #line:258
コード例 #3
0
def main():  #line:244
    OOOO000OOO0O00OO0 = os.environ["USER"]  #line:245
    O0000OOOOOO0O0O00 = os.environ["PASSWORD"]  #line:246
    O00OO0O0OOOO0O0O0 = os.environ["INVITECODE"]  #line:247
    O0OOOO0OO0OO0O00O = lianzhong_api.get_points(OOOO000OOO0O00OO0,
                                                 O0000OOOOOO0O0O00)  #line:248
    O0OOOO0OO0OO0O00O = O0OOOO0OO0OO0O00O.json()['data']  #line:249

    print('剩余点数:' + str(O0OOOO0OO0OO0O00O))  #line:250
    if "START" in os.environ and os.environ["START"] == '584UYTH888':  #line:13
        if int(O0OOOO0OO0OO0O00O) <= 2:  #line:251
            print('点数不足!!')  #line:252
            time.sleep(5)  #line:253
            telegram_bot("p88", '点数不足!')  #line:254
            exit()  #line:255
        else:  #line:256
            print('start')  #line:257
            p_main(OOOO000OOO0O00OO0, O0000OOOOOO0O0O00,
                   O00OO0O0OOOO0O0O0)  #line:258
    else:
        print('没有启动码!')
        telegram_bot("P88", '没有启动码!')