| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace app\common\model;
- use think\Model;
- class MessageFeedback extends Model
- {
- protected $name = 'message_feedback';
- protected $autoWriteTimestamp = false;
- public function getTypeList(): array
- {
- return [
- 'suggestion' => '意见建议',
- 'problem' => '问题反馈',
- 'complaint' => '投诉建议',
- 'other' => '其他',
- ];
- }
- public function getStatusList(): array
- {
- return [
- 0 => '未处理',
- 1 => '处理中',
- 2 => '已处理',
- 9 => '无效',
- ];
- }
- }
|