Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
goods
Commits
e988aedb
Commit
e988aedb
authored
Aug 30, 2021
by
pengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 团长分销-团长管理-去掉强类型限制
parent
65a3c80b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ColonelService.php
application/services/marketing/ColonelService.php
+7
-7
No files found.
application/services/marketing/ColonelService.php
View file @
e988aedb
...
...
@@ -61,10 +61,10 @@ class ColonelService
* Notes: 查看用户是否已申请
* User: pengfei@yidian-inc.com
* Date: 2021/8/25 11:42 上午
* @param
int
$userId
* @param $userId
* @return array
*/
public
static
function
isApply
(
int
$userId
)
:
array
public
static
function
isApply
(
$userId
)
:
array
{
$applyInfo
=
ColonelDistributorColonelApply
::
getRecord
([
'user_id'
=>
$userId
],
[
'colonel_apply_id'
,
'audit_status'
]);
return
[
...
...
@@ -136,12 +136,12 @@ class ColonelService
* Notes: 团长申请审核
* User: pengfei@yidian-inc.com
* Date: 2021/8/23 1:54 下午
* @param
int
$applyId
* @param
int
$auditStatus
* @param $applyId
* @param $auditStatus
* @return bool
* @throws MarketingException
*/
public
static
function
handleManageAudit
(
int
$applyId
,
int
$auditStatus
)
:
bool
public
static
function
handleManageAudit
(
$applyId
,
$auditStatus
)
:
bool
{
// 审核状态参数检测
if
(
!
in_array
(
$auditStatus
,
[
ColonelDistributorColonelApply
::
STATUS_PASS
,
ColonelDistributorColonelApply
::
STATUS_REJECT
]))
{
...
...
@@ -179,10 +179,10 @@ class ColonelService
* Notes: 获取自提点信息
* User: pengfei@yidian-inc.com
* Date: 2021/8/24 2:40 下午
* @param
int
$applyId
* @param $applyId
* @return array
*/
public
static
function
getTakePlaceInfo
(
int
$applyId
)
:
array
public
static
function
getTakePlaceInfo
(
$applyId
)
:
array
{
$where
=
[
'colonel_apply_id'
=>
$applyId
...
...
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