Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
61035c54
authored
Aug 06, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
2f891d12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
app/Services/Bom/BomService.php
app/Services/Bom/BomService.php
View file @
61035c54
...
...
@@ -623,6 +623,7 @@ class BomService {
$data
[
"type"
]
=
2
;
//1-前台,2-后台,3-后台批量添加
$data
[
'delivery_place'
]
=
$extend
[
"delivery_type"
];
$data
[
'data'
]
=
$lianying
;
$data
[
"buy"
]
=
1
;
$data
[
'k1'
]
=
time
();
$data
[
'k2'
]
=
md5
(
md5
(
$data
[
'k1'
])
.
'fh6y5t4rr351d2c3bryi'
);
$response
=
json_decode
(
curlApi
(
$url
,
$data
,
'POST'
),
true
);
...
...
@@ -714,6 +715,7 @@ class BomService {
$data
[
'type'
]
=
2
;
//后台加入购物车
$data
[
'delivery_place'
]
=
$extend
[
'delivery_type'
];
$data
[
"bom_sn"
]
=
$extend
[
"bom_sn"
];
$data
[
"buy"
]
=
1
;
$data
[
"data"
]
=
array_merge
(
$ziying
);
$data
[
'uid'
]
=
intval
(
$user_id
)
?
intval
(
$user_id
)
:
0
;
$data
[
'k1'
]
=
time
();
...
...
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