This commit is contained in:
wuchunlei
2025-12-10 15:32:48 +08:00
commit aa5fad5c0b
41 changed files with 2222 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
package com.zmzm.financial.common.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.extern.slf4j.Slf4j;
import com.zmzm.financial.common.entity.Customer;
import com.zmzm.financial.common.entity.WumenUser;
import com.zmzm.financial.common.service.CustomerService;
import com.zmzm.financial.common.service.WumenUserService;
import com.zmzm.financial.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController("commonUser")
@RequestMapping("common/user")
public class UserController {
@Autowired
private WumenUserService wumenUserService;
@Autowired
private CustomerService customerService;
//获取我的湖分列表
@RequestMapping("/getUser")
public R getUserContribution(){
WumenUser wumenUser = wumenUserService.getById("12301");
Customer customer = customerService.getOne(new LambdaQueryWrapper<Customer>()
.eq(Customer::getCellPhone,"15674886255"));
return R.ok().put("wumenUser",wumenUser).put("customer",customer);
}
}