Journal.php 542 B

123456789101112131415161718192021
  1. <?php
  2. namespace Main\Lib;
  3. use Dever;
  4. class Journal
  5. {
  6. # 执行结束时执行的
  7. public function end($param)
  8. {
  9. # 不再执行syncone等后续操作
  10. Dever::config('base')->after = 1;
  11. if (isset($param['uid']) && $param['uid'] > 0 && isset($param['id']) && $param['id'] > 0 && isset($param['add_num']) && $param['add_num']) {
  12. Dever::load('act/lib/subscribe')->submit($param['uid'], $param['id'], 4);
  13. Dever::db('journal/info')->addDing($param['id']);
  14. }
  15. }
  16. }