[TOC] 详细代码:
#!/bin/bashi=0;step=1while [ $i -lt 61 ]docurl 'http://wx2.pyxxkj.com/index/api/order'curl 'http://wx2.pyxxkj.com/index/api/allotorder'val=`expr $i % 3`if [ $val == 0 ]thencurl 'http://wx2.pyxxkj.com/index/api/getdate'fiif [ $i == 40 ]thencurl 'http://wx2.pyxxkj.com/index/api/checkbal'fisleep $stepif [ $i == 60 ]theni=`expr 0`elsei=`expr $i + 1`fidoneexit 0
