fromonline_ios_event.ios_scriptimportallEventimportstructimportsocketimportrandom#ios常规渠道付费appkey='daa79fc0f7624c306f48dee6fece83ca'for_inrange(1):# 随机生成12为数组# i = ''.join(str(random.choice(range(10))) for _ in range(12))i='191349301062'# 随机生成ipip=socket.inet_ntoa(struct.pack('>I',random.randint(1,0xffffffff)))allEvent().orderEvent(i,ip,appkey)