Commit 5b36a937 authored by 高宇's avatar 高宇

拍摄小票查订阅

parent 392f00bf
...@@ -105,13 +105,16 @@ ...@@ -105,13 +105,16 @@
}) })
}, },
handleshoot(){ handleshoot(){
if(this.name === '') { const that = this
wx.requestSubscribeMessage({
tmplIds: ['Z1GyWI2Q9m6VZna-AeIGvvKCQzhxHWBbBVe8UY49fbA'],
success (res) {
if(that.name === '') {
uni.showToast({ uni.showToast({
title: '请选择商铺', title: '请选择商铺',
icon: 'error' icon: 'error'
}) })
} else { } else {
const that = this
let tempFilePaths = '' let tempFilePaths = ''
uni.chooseImage({ uni.chooseImage({
count: 1, count: 1,
...@@ -131,6 +134,9 @@ ...@@ -131,6 +134,9 @@
} }
}) })
} }
}
})
}, },
goshopList(){ goshopList(){
......
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