@@ -1,6 +1,6 @@
<script>
- const uat_domain = 'https://lese.test.sxzxyj.net' // 预发布
- // const uat_domain = 'http://192.168.16.102:8302' // 本地
+ // const uat_domain = 'https://lese.test.sxzxyj.net' // 预发布
+ const uat_domain = 'http://192.168.16.103:8302' // 本地
const pro_domain = 'https://lese.sxzxyj.net' // 生产
const uat_URL = uat_domain+'/gc-shop/' // 预发布
const pro_URL = pro_domain+'/gc-shop/' // 生产
@@ -334,7 +334,7 @@
},
// 立即下单
toOrder(){
- if(this.userData.state == 0){
+ if(this.userData.customerRole == 9){
uni.showToast({
icon:"none",
title:"抱歉,您目前无法使用乐豆"
@@ -144,7 +144,7 @@
// console.log(this.goodContent,this.id,'pppppppp')
- if(this.userData.state == 1){
if(this.goodContent.sellGold * this.nums >= this.goldLimit){
this.$u.vuex("vuex_toOrderList",[{id:this.id,buyQty:this.nums,goodsNo:this.goodContent.goodsNo,goods:this.goodContent}])
uni.redirectTo({
@@ -301,7 +301,7 @@
// 扫商户码,获取商户信息
getStoreData(params) {
sellerFindByPartnerNo({officialPartnerNo: params}).then(res => {
if(res.status == 200){
let store = res.data
@@ -360,7 +360,7 @@
// 支付 判断用户是否设置过支付密码
toPay(item) {