|
@@ -5,6 +5,7 @@ import common.Controller;
|
|
|
import common.YosException;
|
|
|
import common.annotation.API;
|
|
|
import common.data.*;
|
|
|
+import org.apache.commons.lang.StringUtils;
|
|
|
import restcontroller.R;
|
|
|
|
|
|
/**
|
|
@@ -82,6 +83,13 @@ public class Renderings extends Controller {
|
|
|
|
|
|
Rows attRows = getAttachmentUrl("sat_sharematerial", sat_sharematerialid);
|
|
|
detailRow.put("attinfos", attRows);
|
|
|
+ detailRow.putIfAbsent("checkdate", "");
|
|
|
+ detailRow.put("appleturl", "xxx/pages/product/ctw/share?id=" + sat_sharematerialid);
|
|
|
+ if(StringUtils.isBlank(detailRow.getString("panoramaurl"))){
|
|
|
+ detailRow.put("ispanorama", 0);
|
|
|
+ }else{
|
|
|
+ detailRow.put("ispanorama", 1);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
return getSucReturnObject().setData(detailRow).toString();
|