diff --git a/.drone-java.yml b/.drone-java.yml index 693d18e..0780857 100644 --- a/.drone-java.yml +++ b/.drone-java.yml @@ -1,29 +1,20 @@ kind: pipeline # 定义对象类型,还有secret和signature两种类型 - type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型 - name: filesystem-drone # 定义流水线名称 - + clone: disable: true + steps: # 定义流水线执行步骤,这些步骤将顺序执行 - + - name: build-java image: appleboy/drone-ssh # SSH工具镜像 - settings: - host: 1.14.205.126 # 远程连接地址 - username: root # 远程连接账号 - - password: - + password: from_secret: ssh_password # 从Secret中读取SSH密码 - port: 22 # 远程连接端口 - command_timeout: 30m # 远程执行命令超时时间 - script: - echo "build-java......" - cd /root/allLikeMall @@ -34,4 +25,3 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行 - cd yudao-server - chmod +x all.sh - ./all.sh - diff --git a/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts b/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts index 87134c9..ed1b95b 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/diy/template.ts @@ -56,3 +56,32 @@ export const getDiyTemplateProperty = async (id: number) => { export const updateDiyTemplateProperty = async (data: DiyTemplateVO) => { return await request.put({ url: `/promotion/diy-template/update-property`, data }) } + + +// 设置商品分类接口 +export const setDiyProjuctClass = async (id) => { + return await request.get({ + url: `/system/dict-data/diy-template-goods?id=` + id + }) +} + +// 获取商品分类接口 +export const getDiyProjuctClass = async () => { + return await request.get({ + url: `/system/dict-data/getGoods` + }) +} + +// 设置主题风格 +export const setDiyZtClass = async (id) => { + return await request.get({ + url: `/system/dict-data/diy-template-theme?id=` + id + }) +} + +// 获取主题风格 +export const getDiyZtClass = async () => { + return await request.get({ + url: `/system/dict-data/getTheme` + }) +} \ No newline at end of file diff --git a/yudao-admin-vue3/src/api/member/user/index.ts b/yudao-admin-vue3/src/api/member/user/index.ts index e38206a..b8b5304 100644 --- a/yudao-admin-vue3/src/api/member/user/index.ts +++ b/yudao-admin-vue3/src/api/member/user/index.ts @@ -20,6 +20,7 @@ export interface UserVO { point: number | undefined | null totalPoint: number | undefined | null experience: number | null | undefined + groupName: string } // 查询会员用户列表 @@ -51,3 +52,8 @@ export const updateUserPoint = async (data: any) => { export const updateUserBalance = async (data: any) => { return await request.put({ url: `/member/user/update-balance`, data }) } + +// 客服查询用户详情 +export const getUserInfo = async (id: number) => { + return await request.get({ url: `/member/user/getUserInfo?id=` + id }) +} diff --git a/yudao-admin-vue3/src/api/pay/wallet/recharge/index.ts b/yudao-admin-vue3/src/api/pay/wallet/recharge/index.ts new file mode 100644 index 0000000..374febf --- /dev/null +++ b/yudao-admin-vue3/src/api/pay/wallet/recharge/index.ts @@ -0,0 +1,56 @@ +import request from '@/config/axios' + +// 钱包充值 VO +export interface WalletRechargeVO { + id: number // id + walletId: number // 钱包编号 + totalPrice: number // 充值实际到账 + payPrice: number // 实际支付金额 + bonusPrice: number // 钱包赠送金额 + packageId: number // 充值套餐编号 + payStatus: boolean // 是否支付 + payOrderId: number // 支付订单编号 + payChannelCode: string // 支付成功的支付渠道 + payTime: Date // 订单支付时间 + payRefundId: number // 支付退款单编号 + refundTotalPrice: number // 退款金额(包含赠送金额) + refundPayPrice: number // 退款支付金额 + refundBonusPrice: number // 退款钱包赠送金额 + refundTime: Date // 退款时间 + refundStatus: number // 退款状态 + name : string + avatar: string +} + +// 钱包充值 API +export const WalletRechargeApi = { + // 查询钱包充值分页 + getWalletRechargePage: async (params: any) => { + return await request.get({ url: `/pay/wallet-recharge/page`, params }) + }, + + // 查询钱包充值详情 + getWalletRecharge: async (id: number) => { + return await request.get({ url: `/pay/wallet-recharge/get?id=` + id }) + }, + + // 新增钱包充值 + createWalletRecharge: async (data: WalletRechargeVO) => { + return await request.post({ url: `/pay/wallet-recharge/create`, data }) + }, + + // 修改钱包充值 + updateWalletRecharge: async (data: WalletRechargeVO) => { + return await request.put({ url: `/pay/wallet-recharge/update`, data }) + }, + + // 删除钱包充值 + deleteWalletRecharge: async (id: number) => { + return await request.delete({ url: `/pay/wallet-recharge/delete?id=` + id }) + }, + + // 导出钱包充值 Excel + exportWalletRecharge: async (params) => { + return await request.download({ url: `/pay/wallet-recharge/export-excel`, params }) + } +} \ No newline at end of file diff --git a/yudao-admin-vue3/src/assets/imgs/liebiao.png b/yudao-admin-vue3/src/assets/imgs/liebiao.png new file mode 100644 index 0000000..49c5948 Binary files /dev/null and b/yudao-admin-vue3/src/assets/imgs/liebiao.png differ diff --git a/yudao-admin-vue3/src/assets/imgs/tubiao.png b/yudao-admin-vue3/src/assets/imgs/tubiao.png new file mode 100644 index 0000000..7b76ca4 Binary files /dev/null and b/yudao-admin-vue3/src/assets/imgs/tubiao.png differ diff --git a/yudao-admin-vue3/src/components/AppLinkInput/AppLinkSelectDialog.vue b/yudao-admin-vue3/src/components/AppLinkInput/AppLinkSelectDialog.vue index 762ee96..683a013 100644 --- a/yudao-admin-vue3/src/components/AppLinkInput/AppLinkSelectDialog.vue +++ b/yudao-admin-vue3/src/components/AppLinkInput/AppLinkSelectDialog.vue @@ -24,7 +24,7 @@ :content="appLink.path" placement="bottom" :show-after="300"> {{ appLink.name }} @@ -109,9 +109,14 @@ // 处理 APP 链接选中 const handleAppLinkSelected = (appLink : AppLink) => { - if (!isSameLink(appLink.path, activeAppLink.value.path)) { - activeAppLink.value = appLink - console.log(activeAppLink.value,activeAppLink.value.path,"activeAppLink.value") + if(!appLink.path.includes('/pages/index/page')){ + if (!isSameLink(appLink.path, activeAppLink.value.path)) { + activeAppLink.value = appLink + // console.log(activeAppLink.value,activeAppLink.value.path,"activeAppLink.value") + } + }else{ + activeAppLink.value.path = appLink.path + console.log(activeAppLink.value.path,"activeAppLink.value.path") } switch (appLink.type) { case APP_LINK_TYPE_ENUM.PRODUCT_CATEGORY_LIST: diff --git a/yudao-admin-vue3/src/components/AppLinkInput/data.ts b/yudao-admin-vue3/src/components/AppLinkInput/data.ts index e6424a9..1e636f3 100644 --- a/yudao-admin-vue3/src/components/AppLinkInput/data.ts +++ b/yudao-admin-vue3/src/components/AppLinkInput/data.ts @@ -65,11 +65,11 @@ export const APP_LINK_GROUP_LIST = [ name: '商品搜索', path: '/pages/index/search' }, - { - name: '自定义页面', - path: '/pages/index/page', - type: APP_LINK_TYPE_ENUM.DIY_PAGE_DETAIL - }, + // { + // name: '自定义页面', + // path: '/pages/index/page', + // type: APP_LINK_TYPE_ENUM.DIY_PAGE_DETAIL + // }, { name: '客服', path: '/pages/chat/index' @@ -78,13 +78,25 @@ export const APP_LINK_GROUP_LIST = [ name: '系统设置', path: '/pages/public/setting' }, - { - name: '常见问题', - path: '/pages/public/faq' - }, + // { + // name: '常见问题', + // path: '/pages/public/faq' + // }, { name: '积分商城', - path: '/pages/public/faq' + path: '/pages/index/page?id=3' + }, + { + name:'我的积分', + path:'/pages/user/wallet/score' + }, + { + name:'兑换记录', + path:'/pages/activity/point/exchange_list' + }, + { + name:'积分商品列表', + path:'/pages/activity/point/exchange_listall?id=3' } ] }, @@ -111,11 +123,11 @@ export const APP_LINK_GROUP_LIST = [ path: '/pages/goods/seckill', type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL }, - { - name: '促销列表', - path: '/pages/goods/sales', - type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL - }, + // { + // name: '促销列表', + // path: '/pages/goods/sales', + // type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL + // }, { name: '门店管理', path: '/pages/user/goods_details_store/index', @@ -195,11 +207,12 @@ export const APP_LINK_GROUP_LIST = [ { name: '充值记录', path: '/pages/pay/recharge-log' - }, - { - name: '核销记录', - path: '/pages/pay/recharge-log' } + // , + // { + // name: '核销记录', + // path: '/pages/pay/recharge-log' + // } ] }, { @@ -248,7 +261,19 @@ export const APP_LINK_GROUP_LIST = [ { name: '会员中心', path: '/pages/user/user_vip/index' - } + }, + { + name:'付费会员', + path:'/pages/user/user_vip/list' + }, + { + name:'预约中心', + path:'/pages/subscribe/subscribe' + }, + { + name:'预约记录', + path:'pages/reservation_record/reservation_record' + } ] } // , diff --git a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/CouponCard/index.vue b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/CouponCard/index.vue index dd557fd..3e134e7 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/CouponCard/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/CouponCard/index.vue @@ -1,7 +1,7 @@ diff --git a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/ProductCard/index.vue b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/ProductCard/index.vue index a7f0de4..998c5aa 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/ProductCard/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/ProductCard/index.vue @@ -1,5 +1,23 @@