ios_payevent.py 437 Bytes
Newer Older
liuxiaoxing committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
from online_ios_event.ios_script import allEvent
import struct
import socket
import random


#ios常规渠道付费
appkey = 'daa79fc0f7624c306f48dee6fece83ca'


for _ in range(1):
    # 随机生成12为数组
    # i = ''.join(str(random.choice(range(10))) for _ in range(12))
    i = '191349301062'
    # 随机生成ip
    ip = socket.inet_ntoa(struct.pack('>I', random.randint(1, 0xffffffff)))
    allEvent().orderEvent(i,ip,appkey)