前端-胡立永 1 month ago
parent
commit
dc6a7afcee
2 changed files with 5 additions and 4 deletions
  1. +2
    -1
      jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java
  2. +3
    -3
      jeecgboot-vue3/src/views/applet/withdrawal/AppletWithdrawal.data.ts

+ 2
- 1
jeecg-boot/jeecg-boot-module/jeecgboot-boot-applet/src/main/java/org/jeecg/modules/applet/controller/AppletApiPromotionController.java View File

@ -15,6 +15,7 @@ import org.jeecg.modules.demo.appletWater.entity.AppletWater;
import org.jeecg.modules.demo.appletWithdrawal.entity.AppletWithdrawal; import org.jeecg.modules.demo.appletWithdrawal.entity.AppletWithdrawal;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
@ -29,7 +30,7 @@ public class AppletApiPromotionController {
private AppletApiWaterService appletApiWaterService; private AppletApiWaterService appletApiWaterService;
@Operation(summary = "获取推广二维码", description = "获取推广二维码") @Operation(summary = "获取推广二维码", description = "获取推广二维码")
@GetMapping(value = "/qrCode")
@GetMapping(value = "/qrCode", produces = MediaType.IMAGE_PNG_VALUE)
public byte[] getInviteCode() { public byte[] getInviteCode() {
return appletApiWaterService.getInviteCode(); return appletApiWaterService.getInviteCode();
} }


+ 3
- 3
jeecgboot-vue3/src/views/applet/withdrawal/AppletWithdrawal.data.ts View File

@ -6,7 +6,7 @@ import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据 //列表数据
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
{ {
title: '用户id',
title: '用户',
align:"center", align:"center",
dataIndex: 'userId_dictText' dataIndex: 'userId_dictText'
}, },
@ -55,7 +55,7 @@ export const searchFormSchema: FormSchema[] = [
//表单数据 //表单数据
export const formSchema: FormSchema[] = [ export const formSchema: FormSchema[] = [
{ {
label: '用户id',
label: '用户',
field: 'userId', field: 'userId',
component: 'JSearchSelect', component: 'JSearchSelect',
componentProps:{ componentProps:{
@ -124,7 +124,7 @@ export const formSchema: FormSchema[] = [
// 高级查询数据 // 高级查询数据
export const superQuerySchema = { export const superQuerySchema = {
userId: {title: '用户id',order: 0,view: 'sel_search', type: 'string',dictTable: "applet_user", dictCode: 'id', dictText: 'name',},
userId: {title: '用户',order: 0,view: 'sel_search', type: 'string',dictTable: "applet_user", dictCode: 'id', dictText: 'name',},
name: {title: '申请人',order: 1,view: 'text', type: 'string',}, name: {title: '申请人',order: 1,view: 'text', type: 'string',},
money: {title: '提现金额',order: 2,view: 'number', type: 'number',}, money: {title: '提现金额',order: 2,view: 'number', type: 'number',},
method: {title: '提现方式',order: 3,view: 'list', type: 'string',dictCode: 'applett_translate_type',}, method: {title: '提现方式',order: 3,view: 'list', type: 'string',dictCode: 'applett_translate_type',},


Loading…
Cancel
Save