| | |
| | | import com.yeshi.fanli.service.inter.config.ConfigService;
|
| | | import com.yeshi.fanli.service.inter.order.LostOrderService;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | | import com.yeshi.fanli.util.TimeUtil;
|
| | | import org.yeshi.utils.TimeUtil;
|
| | | import com.yeshi.fanli.util.Utils;
|
| | |
|
| | | import net.sf.json.JSONArray;
|
| | |
| | | @RequestMapping("getConfig")
|
| | | public void getConfig(AcceptData acceptData, PrintWriter out) {
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("what", configService.get(ConfigKeyEnum.lostOrderHelpWhat.getKey()));
|
| | | data.put("reason", configService.get(ConfigKeyEnum.lostOrderHelpReason.getKey()));
|
| | | data.put("what", configService.getValue(ConfigKeyEnum.lostOrderHelpWhat.getKey(),acceptData.getSystem()));
|
| | | data.put("reason", configService.getValue(ConfigKeyEnum.lostOrderHelpReason.getKey(),acceptData.getSystem()));
|
| | | out.print(JsonUtil.loadTrueResult(data));
|
| | | }
|
| | |
|