no message
This commit is contained in:
parent
c5d44f4d22
commit
2fbeeabba2
@ -64,7 +64,7 @@ public class IntegralSettingsController extends BaseController {
|
||||
*/
|
||||
@GetMapping("getByStoreId")
|
||||
public ResponseObject getByStoreId(Integer id) {
|
||||
return getSuccessResult(this.integralSettingsService.queryById(id));
|
||||
return getSuccessResult(this.integralSettingsService.getByStoreId(id));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -52,7 +52,8 @@ public class IntegralSettingsServiceImpl implements IntegralSettingsService {
|
||||
|
||||
@Override
|
||||
public IntegralSettings getByStoreId(Integer id) {
|
||||
return this.integralSettingsMapper.getByStoreId(id);
|
||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||
return this.integralSettingsMapper.getByStoreId(nowAccountInfo.getStoreId());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
|
||||
<!--查询单个-->
|
||||
<select id="queryBystoreId" resultMap="MtInvitationMap">
|
||||
<select id="queryByStoreId" resultMap="MtInvitationMap">
|
||||
select
|
||||
id, userId, storeId, inviterId, inviterId, status, create_time, create_by, update_time, update_by
|
||||
from mt_invitation
|
||||
|
@ -47,18 +47,18 @@
|
||||
</view>
|
||||
<view class="bai-center">
|
||||
<scroll-view scroll-x="true" class="tap-top">
|
||||
<view class="sz" v-for="(item,index) in 7" :key="index" @click="transferIndex(index) ">
|
||||
<view class="box" :class="{'xztap': qhindex == index}">文字信息</view>
|
||||
<view class="sz" v-for="(item,index) in categoryList" :key="index" @click="transferIndex(index) ">
|
||||
<view class="box" :class="{'xztap': qhindex == index}">{{item.categoryName}}</view>
|
||||
<view class="gang" v-if="qhindex == index"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="wrap-box">
|
||||
<view class="box-goods" v-for="(item,index) in 3" :key="index" @click="godetails()">
|
||||
<view class="box-goods" v-for="(item,index) in integralGiftList" :key="index" @click="godetails()">
|
||||
<view class="goods-img">
|
||||
<image src="../../static/logo.png" mode=""></image>
|
||||
<image :src="baseUrl+'/static/uploadImages/20231106/75bfd9e936974f7a94c2c04e17df1d1b.png'" mode=""></image>
|
||||
</view>
|
||||
<view class="goods-title">
|
||||
268元套餐券
|
||||
{{item.goodsName}}
|
||||
</view>
|
||||
<view class="good-red">
|
||||
<view style="display: flex;align-items: center;">
|
||||
@ -83,7 +83,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import config from '@/config'
|
||||
import request from '../../utils/request';
|
||||
import request from '../../utils/request'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -91,6 +91,7 @@
|
||||
integralGiftList:{},
|
||||
title: '',
|
||||
qhindex: 0,
|
||||
baseUrl: config.baseUrl,
|
||||
query: {
|
||||
categoryId: '',
|
||||
giftName: '',
|
||||
@ -121,6 +122,7 @@
|
||||
// params:{}
|
||||
}).then((res)=>{
|
||||
if(res.code == 200){
|
||||
this.categoryList = res.data.records
|
||||
console.log("hello world",res)
|
||||
}
|
||||
})
|
||||
@ -134,6 +136,7 @@
|
||||
// params:data
|
||||
}).then((res)=>{
|
||||
if(res.code == 200){
|
||||
this.integralGiftList = res.data.records
|
||||
console.log("hello world",res)
|
||||
}
|
||||
})
|
||||
|
@ -10,6 +10,18 @@
|
||||
<u-empty text="积分明细" icon="http://cdn.uviewui.com/uview/empty/list.png">
|
||||
</u-empty>
|
||||
|
||||
<u-waterfall v-model="flowList">
|
||||
<template v-slot:left="{leftList}">
|
||||
<view v-for="(item, index) in leftList" :key="index">
|
||||
<!-- 这里编写您的内容,item为您传递给v-model的数组元素 -->
|
||||
</view>
|
||||
</template>
|
||||
<template v-slot:right="{rightList}">
|
||||
<view v-for="(item, index) in rightList" :key="index">
|
||||
<!-- 这里编写您的内容,item为您传递给v-model的数组元素 -->
|
||||
</view>
|
||||
</template>
|
||||
</u-waterfall>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@ -21,6 +33,8 @@
|
||||
title: '',
|
||||
|
||||
|
||||
subTitle: '2020-05-15',
|
||||
thumb: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg',
|
||||
}
|
||||
},
|
||||
|
||||
@ -67,4 +81,6 @@
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
@ -8,31 +8,30 @@
|
||||
</view>
|
||||
<!-- 顶部区域 -->
|
||||
<view class="centen-siez">
|
||||
积分兑换活动一: 积分抵现
|
||||
积分抵现就是当客户积累了一定量的积分后,可以在积分商城中按照指定积分量兑换一定现金,并且在客户消费的时候可以使用,当然也可以结合节点释放该活动优惠,例如在企业店庆、周年庆、节假日等活动期间,使用100个积分点可以作为100元现金,在消费的时候自动抵扣,这种积分规则可以使客户感受到实在的价值,增加客户对企业品牌的黏性,提高企业产品的复购率.
|
||||
积分兑换活动二: 积分抽奖
|
||||
积分抽奖就是若客户的账户满足一定的积分值后,就可以参加抽奖活动,每次抽奖需要消耗一些积分量。这种方式是企业积分商城消耗客户积分比较快速的一种方式,客户也比较喜欢参与。例如在双十一等活动期间,客户每使用20个积分可以参加一次积分抽奖,客户每次只需要消耗少量的积分就有机会获得大奖。许多客户为得到想要的奖品,会自愿小时许多积分来尝试抽到大奖。有价值的大奖品,比如手机、家电,能有效吸引客户注意
|
||||
积分兑换活动三:积分兑礼
|
||||
积分商城中常见的积分兑换活动有积分兑换礼品,企业可以在积分商城中设置丰富的礼品供客户自行选择,比如客户有100点积分,可以兑换商城中的一个充电宝,或者选择加钱兑换一个小家电等等。这种模式若想要契合所有客户的需求,那么就需要有海量的商品资源提供给客户,帮助企业
|
||||
更好运营。若商家缺乏供应商资源或缺乏开发技术的话,可以使用积分商城,积分商城有超过10万余家供应商,轻松可以帮助企业实现各种积分兑换活动,增加客户黏性,培养忠实客
|
||||
</view>
|
||||
{{setting.signInRules}}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from '@/config'
|
||||
import request from '../../utils/request'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
|
||||
setting:{}
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
components: {
|
||||
|
||||
},
|
||||
created() {
|
||||
this.getSettings();
|
||||
},
|
||||
methods: {
|
||||
|
||||
@ -42,9 +41,10 @@
|
||||
request({
|
||||
url: '/business/integral/integralSettings/getByStoreId',
|
||||
method: 'get',
|
||||
params:data
|
||||
// params:data
|
||||
}).then((res)=>{
|
||||
if(res.code == 200){
|
||||
this.setting = res.data
|
||||
console.log("hello world",res)
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user