|
|
@@ -32,6 +32,9 @@ public class AppManageController extends BaseController {
|
|
|
@RequestMapping("/getAgreementUrl")
|
|
|
public ModelMap getAgreementUrl(@RequestParam(defaultValue = "sso") String appId) {
|
|
|
App app = appService.findOne(appId);
|
|
|
+ if (app == null) {
|
|
|
+ return success();
|
|
|
+ }
|
|
|
App defaultApp = appService.findOne("sso");
|
|
|
String html = null;
|
|
|
if (app.getPageStyle() == null) {
|