Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d266d7d1
authored
Sep 18, 2025
by
lijinqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.登录必须要验证码修改为 不需要
2.企业认证 状态bug修复 3.新增算力资源 部分字段改为非必传
parent
0c57ff2f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
computility-module-mall/computility-module-product/src/main/java/com/luhu/computility/module/product/controller/admin/spu/vo/ProductSpuSaveReqVO.java
+7
-7
computility-module-member/src/main/java/com/luhu/computility/module/member/controller/app/user/AppMemberUserController.java
+1
-1
computility-module-member/src/main/java/com/luhu/computility/module/member/service/enterprise/EnterpriseService.java
+2
-2
computility-server/src/main/resources/application-dev.yaml
+2
-0
No files found.
computility-module-mall/computility-module-product/src/main/java/com/luhu/computility/module/product/controller/admin/spu/vo/ProductSpuSaveReqVO.java
View file @
d266d7d1
...
...
@@ -20,15 +20,15 @@ public class ProductSpuSaveReqVO {
private
String
name
;
@Schema
(
description
=
"关键字"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"清凉丝滑不出汗"
)
@NotEmpty
(
message
=
"商品关键字不能为空"
)
//
@NotEmpty(message = "商品关键字不能为空")
private
String
keyword
;
@Schema
(
description
=
"商品简介"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"清凉小短袖简介"
)
@NotEmpty
(
message
=
"商品简介不能为空"
)
//
@NotEmpty(message = "商品简介不能为空")
private
String
introduction
;
@Schema
(
description
=
"商品详情"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"清凉小短袖详情"
)
@NotEmpty
(
message
=
"商品详情不能为空"
)
//
@NotEmpty(message = "商品详情不能为空")
private
String
description
;
@Schema
(
description
=
"商品分类编号"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"1"
)
...
...
@@ -36,11 +36,11 @@ public class ProductSpuSaveReqVO {
private
Long
categoryId
;
@Schema
(
description
=
"商品品牌编号"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"1"
)
@NotNull
(
message
=
"商品品牌不能为空"
)
//
@NotNull(message = "商品品牌不能为空")
private
Long
brandId
;
@Schema
(
description
=
"商品封面图"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"https://www.iocoder.cn/xx.png"
)
@NotEmpty
(
message
=
"商品封面图不能为空"
)
//
@NotEmpty(message = "商品封面图不能为空")
private
String
picUrl
;
@Schema
(
description
=
"商品轮播图"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
...
...
@@ -69,11 +69,11 @@ public class ProductSpuSaveReqVO {
// ========== 营销相关字段 =========
@Schema
(
description
=
"赠送积分"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"111"
)
@NotNull
(
message
=
"商品赠送积分不能为空"
)
//
@NotNull(message = "商品赠送积分不能为空")
private
Integer
giveIntegral
;
@Schema
(
description
=
"分销类型"
,
requiredMode
=
Schema
.
RequiredMode
.
REQUIRED
,
example
=
"true"
)
@NotNull
(
message
=
"商品分销类型不能为空"
)
//
@NotNull(message = "商品分销类型不能为空")
private
Boolean
subCommissionType
;
// ========== 统计相关字段 =========
...
...
computility-module-member/src/main/java/com/luhu/computility/module/member/controller/app/user/AppMemberUserController.java
View file @
d266d7d1
...
...
@@ -52,7 +52,7 @@ public class AppMemberUserController {
@Operation
(
summary
=
"获得基本信息"
)
public
CommonResult
<
AppEnterpriseUserInfoRespVO
>
getUserAndEnterpriseInfo
()
{
MemberUserDO
user
=
userService
.
getUser
(
getLoginUserId
());
EnterpriseDO
enterprise
=
enterpriseService
.
getEnterprise
(
getLoginUserId
());
EnterpriseDO
enterprise
=
enterpriseService
.
getEnterprise
ByUserId
(
getLoginUserId
());
AppEnterpriseUserInfoRespVO
appEnterpriseUserInfoRespVO
=
BeanUtils
.
toBean
(
user
,
AppEnterpriseUserInfoRespVO
.
class
);
if
(!
ObjectUtil
.
isEmpty
(
enterprise
))
{
...
...
computility-module-member/src/main/java/com/luhu/computility/module/member/service/enterprise/EnterpriseService.java
View file @
d266d7d1
...
...
@@ -60,10 +60,10 @@ public interface EnterpriseService {
/**
* 获得客户企业
*
* @param
i
d 编号
* @param
userI
d 编号
* @return 客户企业
*/
EnterpriseDO
getEnterprise
(
Long
i
d
);
EnterpriseDO
getEnterprise
(
Long
userI
d
);
/**
* 获得客户企业分页
...
...
computility-server/src/main/resources/application-dev.yaml
View file @
d266d7d1
...
...
@@ -158,6 +158,8 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
# 芋道配置项,设置当前项目所有自定义的配置
computility
:
captcha
:
enable
:
false
# 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
pay
:
order-notify-url
:
https://phsl.lijinqi.com/admin-api/pay/notify/order
# 支付渠道的【支付】回调地址
refund-notify-url
:
https://phsl.lijinqi.com/admin-api/pay/notify/refund
# 支付渠道的【退款】回调地址
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment