Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
287958e3
Commit
287958e3
authored
Feb 19, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加查询优惠卷关联门店接口1
parent
a81950db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
SCouponController.java
...n/java/share/web/controller/system/SCouponController.java
+5
-0
ISCouponService.java
...m/src/main/java/share/system/service/ISCouponService.java
+2
-0
SCouponServiceImpl.java
...in/java/share/system/service/impl/SCouponServiceImpl.java
+5
-0
TiktokServiceImpl.java
...ain/java/share/system/service/impl/TiktokServiceImpl.java
+1
-4
No files found.
share-admin/src/main/java/share/web/controller/system/SCouponController.java
View file @
287958e3
...
@@ -140,5 +140,10 @@ public class SCouponController extends BaseController
...
@@ -140,5 +140,10 @@ public class SCouponController extends BaseController
return
success
(
sCouponService
.
queryShopDeal
());
return
success
(
sCouponService
.
queryShopDeal
());
}
}
@GetMapping
(
"/querySkuPoiList"
)
public
AjaxResult
querySkuPoiList
()
{
return
success
(
sCouponService
.
querySkuPoiList
());
}
}
}
share-system/src/main/java/share/system/service/ISCouponService.java
View file @
287958e3
...
@@ -78,4 +78,6 @@ public interface ISCouponService extends IService<SCoupon>
...
@@ -78,4 +78,6 @@ public interface ISCouponService extends IService<SCoupon>
TableDataInfo
listDuration
(
SCoupon
sCoupon
);
TableDataInfo
listDuration
(
SCoupon
sCoupon
);
List
<
SCoupon
>
selectSCouponByDealgroupId
(
Long
dealgroupId
);
List
<
SCoupon
>
selectSCouponByDealgroupId
(
Long
dealgroupId
);
List
<
SCoupon
>
querySkuPoiList
();
}
}
share-system/src/main/java/share/system/service/impl/SCouponServiceImpl.java
View file @
287958e3
...
@@ -269,4 +269,9 @@ public class SCouponServiceImpl extends ServiceImpl<SCouponMapper, SCoupon> impl
...
@@ -269,4 +269,9 @@ public class SCouponServiceImpl extends ServiceImpl<SCouponMapper, SCoupon> impl
public
List
<
SCoupon
>
selectSCouponByDealgroupId
(
Long
dealgroupId
)
{
public
List
<
SCoupon
>
selectSCouponByDealgroupId
(
Long
dealgroupId
)
{
return
sCouponMapper
.
selectSCouponByDealgroupId
(
dealgroupId
);
return
sCouponMapper
.
selectSCouponByDealgroupId
(
dealgroupId
);
}
}
@Override
public
List
<
SCoupon
>
querySkuPoiList
()
{
return
null
;
}
}
}
share-system/src/main/java/share/system/service/impl/TiktokServiceImpl.java
View file @
287958e3
...
@@ -269,10 +269,7 @@ public class TiktokServiceImpl implements TiktokService {
...
@@ -269,10 +269,7 @@ public class TiktokServiceImpl implements TiktokService {
list
.
stream
().
forEach
(
e
->
{
list
.
stream
().
forEach
(
e
->
{
//在线状态 1-在线 2-下线 3-封禁
//在线状态 1-在线 2-下线 3-封禁
Integer
onlineStatus
=
e
.
getInt
(
"online_status"
);
Integer
onlineStatus
=
e
.
getInt
(
"online_status"
);
//商品
TiktokProduct
product
=
(
TiktokProduct
)
e
.
getObj
(
"product"
);
//售卖单元
Sku
sku
=
(
Sku
)
e
.
getObj
(
"sku"
);
});
});
return
data
.
getJSONArray
(
"records"
);
return
data
.
getJSONArray
(
"records"
);
}
}
...
...
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