EmailSubscribeLog.php 352 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. class EmailSubscribeLog extends Model
  5. {
  6. protected $name = 'email_subscribe_log';
  7. protected $autoWriteTimestamp = false;
  8. public function getStatusList(): array
  9. {
  10. return [
  11. 0 => '待发送',
  12. 1 => '成功',
  13. 2 => '失败',
  14. ];
  15. }
  16. }