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
08f08c6c
Commit
08f08c6c
authored
May 11, 2020
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-talent' into test
parents
afd837e4
2065d36b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
1 deletions
+14
-1
UPGRADE_2.x.md
+6
-0
src/Auth/Enum/AuthEnum.php
+2
-0
src/Common/Config/CfgCenter.php
+2
-0
src/Notice/Enum/NoticeEnum.php
+2
-0
src/V2/Common/Config/CfgCenter.php
+2
-1
No files found.
UPGRADE_2.x.md
View file @
08f08c6c
# 2.0.61
-
流量平台-上线修复
# 2.0.60
-
流量平台
# 2.0.59
# 2.0.59
-
oem免费vip
-
oem免费vip
...
...
src/Auth/Enum/AuthEnum.php
View file @
08f08c6c
...
@@ -19,6 +19,7 @@ class AuthEnum
...
@@ -19,6 +19,7 @@ class AuthEnum
const
SCOPE_OEMADM
=
3.1
;
//oem管理员
const
SCOPE_OEMADM
=
3.1
;
//oem管理员
const
SCOPE_SALESMAN
=
3.2
;
//流量平台业务员
const
SCOPE_SALESMAN
=
3.2
;
//流量平台业务员
const
SCOPE_TRAFFIC_SELLER
=
3.3
;
//流量平台商家
const
SCOPE_TRAFFIC_SELLER
=
3.3
;
//流量平台商家
const
SCOPE_SHARER_TALENT
=
3.4
;
//流量平台分享达人
const
SCOPE_ADMIN
=
4
;
//管理员
const
SCOPE_ADMIN
=
4
;
//管理员
const
SCOPE_SUPER_ADMIN
=
5
;
//超级管理员
const
SCOPE_SUPER_ADMIN
=
5
;
//超级管理员
...
@@ -38,6 +39,7 @@ class AuthEnum
...
@@ -38,6 +39,7 @@ class AuthEnum
const
AUTH_TYPE_SALESMAN
=
206
;
// 流量平台业务员
const
AUTH_TYPE_SALESMAN
=
206
;
// 流量平台业务员
const
AUTH_TYPE_TRAFFIC_BUYER
=
207
;
// 流量平台的买家
const
AUTH_TYPE_TRAFFIC_BUYER
=
207
;
// 流量平台的买家
const
AUTH_TYPE_TRAFFIC_SELLER
=
208
;
// 流量平台的商家
const
AUTH_TYPE_TRAFFIC_SELLER
=
208
;
// 流量平台的商家
const
AUTH_TYPE_SHARER_TALENT
=
209
;
// 流量平台的分享达人
...
...
src/Common/Config/CfgCenter.php
View file @
08f08c6c
...
@@ -27,6 +27,8 @@ class CfgCenter
...
@@ -27,6 +27,8 @@ class CfgCenter
const
SELLER_DISTRIBUTION
=
'seller_distribution'
;
//卖家分销配置
const
SELLER_DISTRIBUTION
=
'seller_distribution'
;
//卖家分销配置
const
MP_ZHIMEI
=
'mp_zhimei'
;
//致美的公众号配置
const
MP_ZHIMEI
=
'mp_zhimei'
;
//致美的公众号配置
const
MP_OEMADM
=
'mp_oemadm'
;
// OEM机构管理员公众号后台,使用云脉科技公众号
const
MP_OEMADM
=
'mp_oemadm'
;
// OEM机构管理员公众号后台,使用云脉科技公众号
const
TRAFFIC_BACKEND_WEAPP
=
'traffic_backend_weapp'
;
//流量平台业务员端小程序
const
TRAFFIC_FRONTEND_WEAPP
=
'traffic_frontend_weapp'
;
//流量平台买家端小程序
/**
/**
* 根据用户token获取配置, 优先使用此方法读取配置
* 根据用户token获取配置, 优先使用此方法读取配置
...
...
src/Notice/Enum/NoticeEnum.php
View file @
08f08c6c
...
@@ -37,6 +37,8 @@ class NoticeEnum
...
@@ -37,6 +37,8 @@ class NoticeEnum
const
PAGE_TYPE_BACKEND
=
1
;
//后台 蓝猫
const
PAGE_TYPE_BACKEND
=
1
;
//后台 蓝猫
const
PAGE_TYPE_FRONT
=
2
;
//前台 橙猫
const
PAGE_TYPE_FRONT
=
2
;
//前台 橙猫
const
PAGE_TYPE_MP
=
3
;
//公众号
const
PAGE_TYPE_MP
=
3
;
//公众号
const
PAGE_TYPE_TRAFFIC_SELLER
=
4
;
//流量平台 卖家
const
PAGE_TYPE_TRAFFIC_BUYER
=
5
;
//流量平台 买家
const
TEMPLATE_GROUP_BOOKING_SUCCESS
=
"GROUP_BOOKING_SUCCESS"
;
//拼团结果通知
const
TEMPLATE_GROUP_BOOKING_SUCCESS
=
"GROUP_BOOKING_SUCCESS"
;
//拼团结果通知
const
TEMPLATE_BARGAIN_OVERDUE
=
"BARGAIN_OVERDUE"
;
//砍价活动过期通知
const
TEMPLATE_BARGAIN_OVERDUE
=
"BARGAIN_OVERDUE"
;
//砍价活动过期通知
...
...
src/V2/Common/Config/CfgCenter.php
View file @
08f08c6c
...
@@ -174,7 +174,8 @@ class CfgCenter
...
@@ -174,7 +174,8 @@ class CfgCenter
if
(
$database
==
''
)
{
if
(
$database
==
''
)
{
$database
=
'config_center'
;
$database
=
'config_center'
;
}
}
if
(
\env
(
'APP_DEV'
)
==
'prod'
)
{
if
(
\env
(
'APP_ENV'
)
==
'prod'
)
{
// 返回线上数据库连接
// 返回线上数据库连接
return
new
\Medoo\Medoo
([
return
new
\Medoo\Medoo
([
'database_type'
=>
'mysql'
,
'database_type'
=>
'mysql'
,
...
...
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