|
@@ -28,6 +28,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
import { RemindBox, PullUp, EmptyStatus } from '~components/mobile/common'
|
|
import { RemindBox, PullUp, EmptyStatus } from '~components/mobile/common'
|
|
|
|
|
+ import config from '../../../nuxt.config'
|
|
|
export default {
|
|
export default {
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
@@ -88,7 +89,7 @@
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
if (ids.length !== 0) {
|
|
if (ids.length !== 0) {
|
|
|
- this.$http.post(`${process.env.MESSAGE_URL}/messages/read`, {receiverUu: this.user.data.userUU, receiverEnuu: this.user.data.enterprise.uu, messageId: ids.join(','), consumerApp: 'MALL'})
|
|
|
|
|
|
|
+ this.$http.post(`${config.env.messageUrl}/messages/read`, {receiverUu: this.user.data.userUU, receiverEnuu: this.user.data.enterprise.uu, messageId: ids.join(','), consumerApp: 'MALL'})
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
console.log(res.data)
|
|
console.log(res.data)
|
|
|
})
|
|
})
|