Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
c9166136
Commit
c9166136
authored
Sep 26, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
反馈来源枚举
parent
814be783
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
7 deletions
+26
-7
src/Feedback/Enum/FeedbackEnum.php
+6
-7
src/Feedback/Enum/ReplyEnum.php
+20
-0
No files found.
src/Feedback/Enum/
Origin
Enum.php
→
src/Feedback/Enum/
Feedback
Enum.php
View file @
c9166136
...
...
@@ -7,16 +7,14 @@
*/
namespace
Hdll\Services\Feedback\Enum
;
class
Origin
Enum
class
Feedback
Enum
{
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
src/Feedback/Enum/ReplyEnum.php
0 → 100644
View file @
c9166136
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment