command.php 964 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: stanley-king
  5. * Date: 2017/9/28
  6. * Time: 上午10:16
  7. */
  8. defined('InShopNC') or exit('Access Invalid!');
  9. require_once(BASE_ROOT_PATH . '/helper/notify_helper.php');
  10. require_once(BASE_ROOT_PATH . '/helper/stat_helper.php');
  11. require_once(BASE_ROOT_PATH . '/helper/predeposit_helper.php');
  12. require_once(BASE_DATA_PATH . '/mobile/omsid.php');
  13. require_once(BASE_ROOT_PATH . '/helper/bonus_helper.php');
  14. require_once(BASE_ROOT_PATH . '/helper/bonus/witholder.php');
  15. require_once(BASE_ROOT_PATH . '/helper/notify_helper.php');
  16. require_once(BASE_ROOT_PATH . '/data/mobile/lrlz_staff.php');
  17. class commandControl extends BaseCronControl
  18. {
  19. public function __construct()
  20. {
  21. parent::__construct();
  22. }
  23. //中秋节给员工发红包
  24. public function zqbonusOp()
  25. {
  26. $staffs = lrlz_staff();
  27. $type_sn = '76341506502791044726';
  28. bonus_helper::send_mobile($type_sn,$staffs,2);
  29. }
  30. }