Revert "correct function interface"

This reverts commit 792e6118ac428887ef4fbfbb3345853ab670001b.
Revert "Revert "correct function interface""

This reverts commit 170b3417056b6e3ed945730e458cd9cb0d198943.
Merge branch 'dev' of https://github.com/zhuicheng/Lottery.git into dev