| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "resetShareTextTemplate", method = RequestMethod.POST)
|
| | | public void resetShareTextTemplate(AcceptData acceptData, Long uid, Boolean hasCoupon, PrintWriter out) {
|
| | | public void resetShareTextTemplate(AcceptData acceptData, Long uid, Long goodsId, Boolean hasCoupon,
|
| | | PrintWriter out) {
|
| | | if (uid == null) {
|
| | | out.print(JsonUtil.loadFalseResult(1, "用户未登录"));
|
| | | return;
|
| | |
| | | shareGoodsTextTemplateService.resetCommonTemplate(uid);
|
| | | }
|
| | |
|
| | | if (goodsId != null) {
|
| | | preViewShareTextTemplate(acceptData, uid, null, goodsId, hasCoupon, out);
|
| | | return;
|
| | | }
|
| | |
|
| | | out.print(JsonUtil.loadTrueResult(""));
|
| | | }
|
| | |
|