UserCancelLog.php 613 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: qisse
  5. * Date: 2017/6/27
  6. * Time: 20:02
  7. */
  8. namespace app\core\model;
  9. use think\Config;
  10. use think\Log;
  11. use think\Model;
  12. use tool\Common;
  13. class UserCancelLog extends Model
  14. {
  15. protected $resultSetType = 'collection';
  16. protected $updateTime = false;
  17. protected $createTime = 'addTime';
  18. protected $autoWriteTimestamp = true;
  19. const STATUS_SUCCESS = 1;
  20. const STATUS_UN = 2;
  21. const STATUS_ERROR = 3;
  22. const STATUSS = [
  23. self::STATUS_SUCCESS=>'已成功',
  24. self::STATUS_UN=>'未完成',
  25. self::STATUS_ERROR=>'失败'
  26. ];
  27. }