Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
7fa811c8
Commit
7fa811c8
authored
May 15, 2021
by
李超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照工具3.0优化
parent
4a544690
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
253 additions
and
250 deletions
+253
-250
index.vue
take-order/pages/photo/index.vue
+250
-248
getGroupStandardV2.param.json
...unctions/getGroupStandardV2/getGroupStandardV2.param.json
+1
-1
index.js
...r/uniCloud-tcb/cloudfunctions/getGroupStandardV2/index.js
+2
-1
No files found.
take-order/pages/photo/index.vue
View file @
7fa811c8
This diff is collapsed.
Click to expand it.
take-order/uniCloud-tcb/cloudfunctions/getGroupStandardV2/getGroupStandardV2.param.json
View file @
7fa811c8
...
...
@@ -3,7 +3,7 @@
//
配置教程参考:https
:
//uniapp.dcloud.net.cn/uniCloud/quickstart?id=runparam
{
"token"
:
"RTOKEN
eb70458c5502c48838d5e4cf84900767fa010f00
"
,
"token"
:
"RTOKEN
7dacd53ef75f6015d0c9808ea4136065954e997f
"
,
"classify_id"
:
"79550af260555cc20afb34146966a2c4"
,
"system_id"
:
"79550af260555cc20afb34156c94b32c"
,
"brand_id"
:
"28ee4e3e6063f2880d8956a013293a7f"
...
...
take-order/uniCloud-tcb/cloudfunctions/getGroupStandardV2/index.js
View file @
7fa811c8
...
...
@@ -11,6 +11,7 @@ exports.main = async (event, context) => {
return
{
error_code
:
'user_auth'
,
error_msg
:
"用户没有权限"
}
}
// 默认统一规范项 水印根据系统返回
let
res
=
await
db
.
collection
(
"standardV2"
).
aggregate
().
lookup
({
from
:
'user_upload_file'
,
let
:
{
...
...
@@ -29,7 +30,7 @@ exports.main = async (event, context) => {
})
.
done
(),
as
:
'imageList'
}).
match
({
"classify_id"
:
event
.
classify_id
,
"system_id"
:
event
.
system_id
,
"brand_id"
:
event
.
brand_id
}).
limit
(
100
).
end
()
}).
match
({
"classify_id"
:
event
.
classify_id
,
"system_id"
:
'79550af260555cc20afb34156c94b32c'
,
"brand_id"
:
event
.
brand_id
}).
sort
({
order
:
1
}).
limit
(
100
).
end
()
const
watermarkC
=
uniCloud
.
database
().
collection
(
"user_watermark"
).
field
({
'_id'
:
false
})
let
userWatermark
=
await
watermarkC
.
where
({
user_id
:
user_id
,
...
...
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