Commit c9166136 by feixiang

反馈来源枚举

parent 814be783
......@@ -7,16 +7,14 @@
*/
namespace Hdll\Services\Feedback\Enum;
class OriginEnum
class FeedbackEnum
{
const BUYER = 1;
const SELLER = 2;
const ADMIN = 3;
const ORIGIN_BUYER = 1; //前台反馈
const ORIGIN_SELLER = 2; //后台反馈
const ORIGINS = [
self::BUYER,
self::SELLER,
self::ADMIN,
self::ORIGIN_BUYER,
self::ORIGIN_SELLER,
];
}
\ 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