Browse Source

拍照提交

dev-V1.10.2-temp
wangmingyong@163.com 2 months ago
parent
commit
b8a860be57
  1. 10
      zdxt-web-client/zdxt-efcode-enterprise-app/src/util/w6sMedia.js

10
zdxt-web-client/zdxt-efcode-enterprise-app/src/util/w6sMedia.js

@ -93,17 +93,17 @@ export const takePhotoWithWaterMark = async ({
content,
fontSize,
color,
// markDisable: false,
markDisable: false,
timeEnable,
// locationEnable,
locationEnable,
success: (res) => {
console.log('[w6sMedia] takePhotoAndAddWaterMark success 原始返回:', res)
console.log('[w6sMedia] 返回字段 imageURL:', res?.result.imageURL, 'key:', res?.result.key, 'imageInfo:', res?.result.imageInfo)
getLocation().then((location) => {
console.log('[w6sMedia] 获取定位成功:', location)
// getLocation().then((location) => {
// console.log('[w6sMedia] 获取定位成功:', location)
// res?.result.location = location
resolve(res)
})
// })
},
fail: (err) => {
console.error('[w6sMedia] takePhotoAndAddWaterMark fail:', err)

Loading…
Cancel
Save