Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
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
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
without authentication
meibuyu-rpc
Commits
8e9cdcb4
Commit
8e9cdcb4
authored
Jan 25, 2022
by
王源
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样品转化产品rpc方法参数注释
parent
d2b6326e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
ProductServiceInterface.php
src/Service/Interfaces/Product/ProductServiceInterface.php
+18
-3
No files found.
src/Service/Interfaces/Product/ProductServiceInterface.php
View file @
8e9cdcb4
...
@@ -157,10 +157,10 @@ interface ProductServiceInterface
...
@@ -157,10 +157,10 @@ interface ProductServiceInterface
/**
/**
* 样品转换产品
* 样品转换产品
* @param array $params
* @param array $params
传入的参数
* $params = [
* $params = [
* 'product' => [ // 产品信息
* 'product' => [ // 产品信息
* 's
pecimen_code' => 'ABC123', // 样品编码
,必填
* 's
ku' => 'ABC123', // SKU
,必填
* 'name' => '裙子', // 产品中文名,选填
* 'name' => '裙子', // 产品中文名,选填
* 'en_name' => 'dress', // 产品英文名,选填
* 'en_name' => 'dress', // 产品英文名,选填
* 'brand_id' => 123, // 品牌id,选填
* 'brand_id' => 123, // 品牌id,选填
...
@@ -173,7 +173,22 @@ interface ProductServiceInterface
...
@@ -173,7 +173,22 @@ interface ProductServiceInterface
* 'ingredient_id' => 123, // 成分id,选填
* 'ingredient_id' => 123, // 成分id,选填
* 'product_name_id' => 123, // 品名id,必填
* 'product_name_id' => 123, // 品名id,必填
* 'style' => '复古', // 风格/款式,选填
* 'style' => '复古', // 风格/款式,选填
* 'creator_id' => 123, // 创建人id,,必填
* 'creator_id' => 123, // 创建人id,必填
* 'images' => [], // 图片地址数组
* 'cost' => 12,5, // 生产成本
* 'package_cost' => 12,5, // 包装成本
* 'customs_unit_price' => 12,5, // 报关单价
* 'customs_cost' => 12,5, // 报关成本
* 'product_weight' => 15.2, // 产品重量(g)
* 'product_length' => 15.2, // 产品长度(cm)
* 'product_width' => 15.2, // 产品宽度(cm)
* 'product_height' => 15.2, // 产品高度(cm)
* 'product_volume' => 15.2, // 产品体积(cm3)
* 'package_weight' => 15.2, // 包装重量(g)
* 'package_length' => 15.2, // 包装长度(cm)
* 'package_width' => 15.2, // 包装宽度(cm)
* 'package_height' => 15.2, // 包装高度(cm)
* 'package_volume' => 15.2, // 包装体积(cm3)
* ],
* ],
* 'material' => [] // 原料信息,暂无
* 'material' => [] // 原料信息,暂无
* ];
* ];
...
...
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