Commit c9166136 by feixiang

反馈来源枚举

parent 814be783
...@@ -7,16 +7,14 @@ ...@@ -7,16 +7,14 @@
*/ */
namespace Hdll\Services\Feedback\Enum; namespace Hdll\Services\Feedback\Enum;
class OriginEnum class FeedbackEnum
{ {
const BUYER = 1; const ORIGIN_BUYER = 1; //前台反馈
const SELLER = 2; const ORIGIN_SELLER = 2; //后台反馈
const ADMIN = 3;
const ORIGINS = [ const ORIGINS = [
self::BUYER, self::ORIGIN_BUYER,
self::SELLER, self::ORIGIN_SELLER,
self::ADMIN,
]; ];
} }
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/9/26
* Time: 9:42
*/
namespace Hdll\Services\Feedback\Enum;
class ReplyEnum
{
const ORIGIN_USER = 1; //用户回复
const ORIGIN_ADMIN = 2; //管理员回复
const ORIGINS = [
self::ORIGIN_USER,
self::ORIGIN_ADMIN
];
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment