0
点赞
收藏
分享

微信扫一扫

Redis进阶 - Redis哨兵

律楷粑粑 2023-07-14 阅读 62

效果图:

代码展示:

<template>
	<view class="page-map">
		<view class="btn" @click="telFun()" style="text-align: center;">电话咨询</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {}
		},
		methods: {
			//拨打电话:
			telFun() {
				uni.makePhoneCall({
					phoneNumber: '135xxxxxxxxxx', //电话号码
					success: function(e) {
						console.log(e);
					},
					fail: function(e) {
						console.log(e);
					}
				})
			},
		}
	}
</script>
<style lang="scss" scoped>

</style>

注解:

uni.makePhoneCall(OBJECT)    拨打电话

举报

相关推荐

Redis + 哨兵

redis哨兵

Redis哨兵

redis 集群 哨兵

Redis哨兵架构

REDIS哨兵模式

0 条评论