updae
This commit is contained in:
parent
ddd1bde192
commit
0b0a0d9663
BIN
acdr-admin.zip
Normal file
BIN
acdr-admin.zip
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view
|
||||
:class="[
|
||||
'pos-fixed z-999 left-[10px] flex gap-[10px] items-center content-center justify-center',
|
||||
'pos-fixed z-999 left-[1px] flex gap-[5px] items-center content-center justify-center',
|
||||
isH5 ? 'top-[20px]' : 'top-[40px]',
|
||||
]"
|
||||
>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<view class="w-full h-full">
|
||||
<wd-search
|
||||
v-model="value"
|
||||
placeholder="每一次搜索与众不同"
|
||||
placeholder="搜索..."
|
||||
cancel-txt="搜索"
|
||||
@search="search"
|
||||
@cancel="search"
|
||||
|
@ -12,7 +12,7 @@
|
||||
<Banner />
|
||||
<AddressCell />
|
||||
<!-- 这里放搜索框 -->
|
||||
<view class="w-[80vw] pos-absolute top-[53vw]">
|
||||
<view class="w-[70vw] pos-absolute top-[3vw] right-0">
|
||||
<Search />
|
||||
</view>
|
||||
<loading-animation v-model="isLoading" />
|
||||
|
@ -3,6 +3,7 @@ package com.yskj.acdr.master.pet.controller;
|
||||
import cn.dev33.satoken.stp.StpUtil;
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.yskj.acdr.common.response.GlobalResponse;
|
||||
import com.yskj.acdr.master.file.service.FileMapService;
|
||||
import com.yskj.acdr.master.pet.entity.PetExpertCertification;
|
||||
@ -159,10 +160,9 @@ public class PetController {
|
||||
*/
|
||||
@GetMapping("/index")
|
||||
public GlobalResponse<PetInfo> index() {
|
||||
PetInfo one = petInfoService.lambdaQuery()
|
||||
.eq(PetInfo::getUserId, StpUtil.getLoginIdAsLong())
|
||||
.one();
|
||||
return GlobalResponse.success(one);
|
||||
List<PetInfo> one = petInfoService.list(new LambdaQueryWrapper<PetInfo>()
|
||||
.eq(PetInfo::getUserId, StpUtil.getLoginIdAsLong()));
|
||||
return GlobalResponse.success(one.getFirst());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ mybatis-plus:
|
||||
mapper-locations: classpath*:com/yskj/**/master/**/mapper/xml/*.xml
|
||||
configuration:
|
||||
# 开启MyBatis的SQL打印
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# 当使用非实体类接收返回数据时,字段值若为空则返回null(不设置此项会忽略为null的字段)
|
||||
call-setters-on-nulls: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user