|
@@ -156,7 +156,7 @@ public class TJsController extends BaseController {
|
|
@RequestMapping(value = "/wx/getByid", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/wx/getByid", method = RequestMethod.POST)
|
|
public R getById(@RequestBody TJs js) {
|
|
public R getById(@RequestBody TJs js) {
|
|
try {
|
|
try {
|
|
- return R.ok(jsService.getByJsId(js.getcOpenId()));
|
|
|
|
|
|
+ return R.ok(jsService.getByJsId(js.getId()));
|
|
} catch (ServiceException s) {
|
|
} catch (ServiceException s) {
|
|
log.error(s.getMessage());
|
|
log.error(s.getMessage());
|
|
return R.fail(s.getMessage());
|
|
return R.fail(s.getMessage());
|