Commit 7fa811c8 authored by 李超鹏's avatar 李超鹏

拍照工具3.0优化

parent 4a544690
This diff is collapsed.
......@@ -3,7 +3,7 @@
// 配置教程参考:https://uniapp.dcloud.net.cn/uniCloud/quickstart?id=runparam
{
"token": "RTOKENeb70458c5502c48838d5e4cf84900767fa010f00",
"token": "RTOKEN7dacd53ef75f6015d0c9808ea4136065954e997f",
"classify_id": "79550af260555cc20afb34146966a2c4",
"system_id": "79550af260555cc20afb34156c94b32c",
"brand_id": "28ee4e3e6063f2880d8956a013293a7f"
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment