Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
without authentication
meibuyu-micro
Commits
aeae43d5
Commit
aeae43d5
authored
Jul 24, 2020
by
zhaopeng343
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of git.huaperfect.com:hwq/micro into test
parents
bc5dd172
e2b6884a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
2 deletions
+51
-2
MaterialCategory.php
src/Constants/MaterialCategory.php
+19
-0
SpecialUserId.php
src/Constants/SpecialUserId.php
+18
-0
MessageServiceInterface.php
src/Service/Interfaces/MessageServiceInterface.php
+4
-2
PlatformProductChildServiceInterface.php
...terfaces/Product/PlatformProductChildServiceInterface.php
+10
-0
No files found.
src/Constants/MaterialCategory.php
0 → 100644
View file @
aeae43d5
<?php
/**
* Created by PhpStorm.
* User: Zero
* Date: 2020/3/23
* Time: 17:45
*/
namespace
Meibuyu\Micro\Constants
;
class
MaterialCategory
{
const
FU_LIAO
=
1
;
// 辅料
const
MIAN_LIAO
=
2
;
// 面料
const
LI_BU
=
3
;
// 里布
const
HAO_CAI
=
4
;
// 耗材
}
src/Constants/SpecialUserId.php
0 → 100644
View file @
aeae43d5
<?php
/**
* Created by PhpStorm.
* User: Zero
* Date: 2020/6/18
* Time: 8:32
*/
namespace
Meibuyu\Micro\Constants
;
class
SpecialUserId
{
const
ZHANG_TING_TING
=
83
;
// 张婷婷
const
CAI_YA_XIANG
=
85
;
// 蔡亚祥
const
CAI_HONG_SHAN
=
86
;
// 蔡红山
}
src/Service/Interfaces/MessageServiceInterface.php
View file @
aeae43d5
...
@@ -16,8 +16,10 @@ interface MessageServiceInterface
...
@@ -16,8 +16,10 @@ interface MessageServiceInterface
* @param array $receiveUserId 接收人id
* @param array $receiveUserId 接收人id
* @param string $application 应用名称
* @param string $application 应用名称
* @param int $sendUserId 发送人id(发送人id等于0时是系统消息)
* @param int $sendUserId 发送人id(发送人id等于0时是系统消息)
* @param int $templateId 模板id
* @param int $templateId 模板id
(等于0时直接使用content内容)
* @param array $replace 替换模板内容
* @param array $replace 替换模板内容
* @param string $content 自定义消息内容
* @return bool
*/
*/
public
function
send
(
array
$receiveUserId
,
$application
,
$templateId
,
$sendUserId
=
0
,
$replace
=
[]
)
:
bool
;
public
function
send
(
array
$receiveUserId
,
$application
,
$templateId
=
0
,
$sendUserId
=
0
,
$replace
=
[],
$content
=
''
)
:
bool
;
}
}
src/Service/Interfaces/Product/PlatformProductChildServiceInterface.php
View file @
aeae43d5
...
@@ -70,4 +70,14 @@ interface PlatformProductChildServiceInterface
...
@@ -70,4 +70,14 @@ interface PlatformProductChildServiceInterface
*/
*/
public
function
getListByProductChildIds
(
array
$productChildIds
,
$siteId
=
null
,
array
$columns
=
[
'*'
]);
public
function
getListByProductChildIds
(
array
$productChildIds
,
$siteId
=
null
,
array
$columns
=
[
'*'
]);
/**
* 通过仓库产品id获取平台子产品数组
* @param $productId
* @param null $siteId
* @param array $relations
* @param array $columns
* @return array
*/
public
function
getListByProductIds
(
$productId
,
$siteId
=
null
,
array
$relations
=
[],
$columns
=
[
'*'
]);
}
}
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