Commit 671ef14c2318c0e6fb63d2f9dee9a9b04c160c39
Merge remote-tracking branch 'origin/lggj' into lggj
Showing
87 changed files
with
998 additions
and
2616 deletions
Too many changes to show.
To preserve performance only 87 of 110 files are displayed.
src/main/java/com/bsth/common/Constants.java
| @@ -46,6 +46,7 @@ public class Constants { | @@ -46,6 +46,7 @@ public class Constants { | ||
| 46 | public static final String STATION_AND_SECTION_COUNT = "/station/updateStationAndSectionCode"; | 46 | public static final String STATION_AND_SECTION_COUNT = "/station/updateStationAndSectionCode"; |
| 47 | 47 | ||
| 48 | public static final String OUT_URL = "/out/**"; | 48 | public static final String OUT_URL = "/out/**"; |
| 49 | + public static final String NOTICE_URL = "/notice/**"; | ||
| 49 | /** | 50 | /** |
| 50 | * 解除调度指令和班次的外键约束 | 51 | * 解除调度指令和班次的外键约束 |
| 51 | */ | 52 | */ |
src/main/java/com/bsth/controller/realcontrol/NoticeController.java
0 → 100644
| 1 | +package com.bsth.controller.realcontrol; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.alibaba.fastjson.JSONArray; | ||
| 5 | +import com.alibaba.fastjson.JSONObject; | ||
| 6 | +import com.bsth.common.ResponseCode; | ||
| 7 | +import com.bsth.controller.BaseController; | ||
| 8 | +import com.bsth.data.BasicData; | ||
| 9 | +import com.bsth.data.notice.NoticeService; | ||
| 10 | +import com.bsth.data.notice.entity.Notice; | ||
| 11 | +import com.bsth.util.SignUtils; | ||
| 12 | +import org.slf4j.Logger; | ||
| 13 | +import org.slf4j.LoggerFactory; | ||
| 14 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 15 | +import org.springframework.beans.propertyeditors.CustomDateEditor; | ||
| 16 | +import org.springframework.web.bind.WebDataBinder; | ||
| 17 | +import org.springframework.web.bind.annotation.*; | ||
| 18 | +import org.springframework.web.context.request.WebRequest; | ||
| 19 | +import java.text.DateFormat; | ||
| 20 | +import java.text.SimpleDateFormat; | ||
| 21 | +import java.util.Date; | ||
| 22 | +import java.util.HashMap; | ||
| 23 | +import java.util.Map; | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * 公告 | ||
| 27 | + */ | ||
| 28 | +@RestController | ||
| 29 | +@RequestMapping("/notice") | ||
| 30 | +public class NoticeController extends BaseController<Notice, Long>{ | ||
| 31 | + | ||
| 32 | + Logger log = LoggerFactory.getLogger(this.getClass()); | ||
| 33 | + | ||
| 34 | + | ||
| 35 | + @Autowired | ||
| 36 | + NoticeService noticeService; | ||
| 37 | + | ||
| 38 | + @InitBinder | ||
| 39 | + public void initBinder(WebDataBinder binder, WebRequest request) { | ||
| 40 | + //转换日期 注意这里的转化要和传进来的字符串的格式一直 如2015-9-9 就应该为yyyy-MM-dd | ||
| 41 | + DateFormat dateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | ||
| 42 | + binder.registerCustomEditor(Date.class, new CustomDateEditor(dateFormat, true));// CustomDateEditor为自定义日期编辑器 | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + | ||
| 46 | + @RequestMapping(value = "/findList", method = RequestMethod.GET) | ||
| 47 | + public Map<String, Object> findList(@RequestParam Map<String, String> map) { | ||
| 48 | + return noticeService.findList(map); | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + @RequestMapping(value = "/{id}", method = RequestMethod.GET) | ||
| 52 | + public Notice findById(@PathVariable("id") Long id) { | ||
| 53 | + Notice notice = noticeService.findById(id); | ||
| 54 | + return notice; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + @RequestMapping(value = "/delete", method = RequestMethod.POST) | ||
| 58 | + public Map<String, Object> deleteInfo(Notice t) { | ||
| 59 | + Map<String, Object> map = new HashMap<>(); | ||
| 60 | + try{ | ||
| 61 | + noticeService.deleteInfo(t); | ||
| 62 | + map.put("status", ResponseCode.SUCCESS); | ||
| 63 | + } catch (Exception e) { | ||
| 64 | + log.error(e.toString(), e); | ||
| 65 | + map.put("status", ResponseCode.ERROR); | ||
| 66 | + } | ||
| 67 | + return map; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + | ||
| 71 | + @RequestMapping(method = RequestMethod.POST) | ||
| 72 | + public Map<String, Object> save(Notice t) { | ||
| 73 | + Map<String, Object> map = new HashMap<>(); | ||
| 74 | + try{ | ||
| 75 | + t.setNOTICE_XLNAME(BasicData.lineCode2NameMap.get(t.getNOTICE_XL())); | ||
| 76 | + t.setNOTICE_STATIONNAME(BasicData.stationCode2NameMap.get(t.getNOTICE_XL()+"_"+t.getNOTICE_XSFX()+"_"+t.getNOTICE_STATION())); | ||
| 77 | + t.setCREATE_BY(t.getNOTICE_BBR()); | ||
| 78 | + t.setUPDATE_BY(t.getNOTICE_BBR()); | ||
| 79 | + noticeService.save(t); | ||
| 80 | + map.put("status", ResponseCode.SUCCESS); | ||
| 81 | + } catch (Exception e) { | ||
| 82 | + log.error(e.toString(), e); | ||
| 83 | + map.put("status", ResponseCode.ERROR); | ||
| 84 | + } | ||
| 85 | + return map; | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + @RequestMapping(value = "/getNotice", method = RequestMethod.POST) | ||
| 89 | + public Map<String, Object> getNotice(@RequestBody JSONObject jsonObject) { | ||
| 90 | + Map<String, Object> map = new HashMap<>(); | ||
| 91 | + Map<String, String> params = new HashMap<>(); | ||
| 92 | + try{ | ||
| 93 | + if(!SignUtils.validation(Long.parseLong(jsonObject.getString("timestamp")),jsonObject.getString("sign"))){ | ||
| 94 | + map.put("status", "验证失败"); | ||
| 95 | + return map; | ||
| 96 | + } | ||
| 97 | + StringBuffer stations=new StringBuffer(); | ||
| 98 | + StringBuffer lineCodes=new StringBuffer(); | ||
| 99 | + JSONArray jsonArray = jsonObject.getJSONArray("stations"); | ||
| 100 | + for (int i = 0; i < jsonArray.size(); i++) { | ||
| 101 | + JSONObject line=jsonArray.getJSONObject(i); | ||
| 102 | + String lineCode = line.get("lineCode").toString(); | ||
| 103 | + String stationCode = line.get("stationCode").toString(); | ||
| 104 | + stations.append(stationCode+","); | ||
| 105 | + lineCodes.append(lineCode+","); | ||
| 106 | + } | ||
| 107 | + params.put("stations",stations.toString().substring(0,stations.toString().length()-1)); | ||
| 108 | + params.put("lineCodes",lineCodes.toString().substring(0,lineCodes.toString().length()-1)); | ||
| 109 | + return noticeService.getNotice(params); | ||
| 110 | + } catch (Exception e) { | ||
| 111 | + log.error(e.toString(), e); | ||
| 112 | + map.put("status", ResponseCode.ERROR); | ||
| 113 | + return map; | ||
| 114 | + } | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | +} |
src/main/java/com/bsth/data/notice/NoticeService.java
0 → 100644
| 1 | +package com.bsth.data.notice; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.bsth.data.notice.entity.Notice; | ||
| 5 | +import com.bsth.service.BaseService; | ||
| 6 | + | ||
| 7 | +import java.util.Map; | ||
| 8 | + | ||
| 9 | +public interface NoticeService extends BaseService<Notice, Long>{ | ||
| 10 | + | ||
| 11 | + Map<String, Object> findList(Map<String, String> map); | ||
| 12 | + | ||
| 13 | + Map<String, Object> deleteInfo( Notice t); | ||
| 14 | + | ||
| 15 | + Map<String, Object> getNotice(Map<String, String> map); | ||
| 16 | +} |
src/main/java/com/bsth/data/notice/NoticeServiceImpl.java
0 → 100644
| 1 | +package com.bsth.data.notice; | ||
| 2 | + | ||
| 3 | +import com.bsth.common.ResponseCode; | ||
| 4 | +import com.bsth.data.gpsdata_v2.cache.GeoCacheData; | ||
| 5 | +import com.bsth.data.gpsdata_v2.entity.StationRoute; | ||
| 6 | +import com.bsth.data.notice.entity.*; | ||
| 7 | +import com.bsth.service.impl.BaseServiceImpl; | ||
| 8 | +import com.google.common.collect.ArrayListMultimap; | ||
| 9 | +import com.google.common.collect.ListMultimap; | ||
| 10 | +import com.google.common.collect.Multimaps; | ||
| 11 | +import org.slf4j.Logger; | ||
| 12 | +import org.slf4j.LoggerFactory; | ||
| 13 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 14 | +import org.springframework.dao.DataIntegrityViolationException; | ||
| 15 | +import org.springframework.jdbc.core.BeanPropertyRowMapper; | ||
| 16 | +import org.springframework.jdbc.core.JdbcTemplate; | ||
| 17 | +import org.springframework.stereotype.Service; | ||
| 18 | +import java.text.SimpleDateFormat; | ||
| 19 | +import java.util.*; | ||
| 20 | + | ||
| 21 | +@Service | ||
| 22 | +public class NoticeServiceImpl extends BaseServiceImpl<Notice, Long> implements NoticeService { | ||
| 23 | + | ||
| 24 | + Logger log = LoggerFactory.getLogger(this.getClass()); | ||
| 25 | + | ||
| 26 | + @Autowired | ||
| 27 | + JdbcTemplate jdbcTemplate; | ||
| 28 | + | ||
| 29 | + @Override | ||
| 30 | + public Map<String, Object> findList(Map<String, String> map) { | ||
| 31 | + Map<String, Object> rs = new HashMap(); | ||
| 32 | + try { | ||
| 33 | + | ||
| 34 | + String lineCodes = map.get("lineCodes") == null ? "" : map.get("lineCodes"); | ||
| 35 | + Date startDate = new Date(); | ||
| 36 | + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | ||
| 37 | + String time = sdf.format(startDate); | ||
| 38 | + String sql = "select * from bsth_t_notice where NOTICE_TIME >=\""+time+"\" and (NOTICE_XL in("+lineCodes+") "+" or NOTICE_QY is not null) and STATUS !=2 "; | ||
| 39 | + List<Notice> list = jdbcTemplate.query(sql, new BeanPropertyRowMapper(Notice.class)); | ||
| 40 | + for (Notice notice : list) { | ||
| 41 | + notice.setNOTICE_TFSJ(TFSJ.getDescription(notice.getNOTICE_TFSJ())); | ||
| 42 | + notice.setNOTICE_SJYX(SJYX.getDescription(notice.getNOTICE_SJYX())); | ||
| 43 | + notice.setNOTICE_QY(QY.getDescription(notice.getNOTICE_QY())); | ||
| 44 | + notice.setNOTICE_GG(GG.getDescription(notice.getNOTICE_GG())); | ||
| 45 | + } | ||
| 46 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 47 | + rs.put("list", list); | ||
| 48 | + } | ||
| 49 | + catch (Exception e){ | ||
| 50 | + log.error("", e); | ||
| 51 | + rs.put("status", ResponseCode.ERROR); | ||
| 52 | + rs.put("msg", e.getMessage()); | ||
| 53 | + } | ||
| 54 | + return rs; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + @Override | ||
| 58 | + public Map<String, Object> getNotice(Map<String, String> map) { | ||
| 59 | + Map<String, Object> rs = new HashMap(); | ||
| 60 | + ListMultimap<String, String> result = Multimaps.synchronizedListMultimap(ArrayListMultimap.create()); | ||
| 61 | + try { | ||
| 62 | + | ||
| 63 | + String stations = map.get("stations") == null ? "" : map.get("stations"); | ||
| 64 | + String lineCodes = map.get("lineCodes") == null ? "" : map.get("lineCodes"); | ||
| 65 | + Date startDate = new Date(); | ||
| 66 | + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); | ||
| 67 | + String time = sdf.format(startDate); | ||
| 68 | + String sql = "select * from bsth_t_notice where NOTICE_TIME >=\""+time+"\" and (NOTICE_XL in("+lineCodes+") "+" or NOTICE_QY is not null) and STATUS !=2"; | ||
| 69 | + List<Notice> list = jdbcTemplate.query(sql, new BeanPropertyRowMapper(Notice.class)); | ||
| 70 | + for (Notice notice : list) { | ||
| 71 | + if(notice.getNOTICE_TYPE()==1){ | ||
| 72 | + StringBuffer sb=new StringBuffer(); | ||
| 73 | + List<StationRoute> stationRoutes=GeoCacheData.getStationRoute(notice.getNOTICE_XL(),Integer.parseInt(notice.getNOTICE_XSFX())); | ||
| 74 | + /*申港3路开往鸿音路南芦公路方向,临时改道不经过鸿音路两港大道站点,请乘客合理安排出行。*/ | ||
| 75 | + sb.append(notice.getNOTICE_XLNAME()+"开往"+stationRoutes.get(stationRoutes.size()-1).getName()+"方向,"); | ||
| 76 | + sb.append("由于"+ TFSJ.getDescription(notice.getNOTICE_TFSJ())); | ||
| 77 | + if("1".equals(notice.getNOTICE_SJYX())){ | ||
| 78 | + sb.append("不经过"+notice.getNOTICE_STATIONNAME()+"站点"); | ||
| 79 | + }else if("2".equals(notice.getNOTICE_SJYX())){ | ||
| 80 | + sb.append("可能出现"+ SJYX.getDescription(notice.getNOTICE_SJYX())); | ||
| 81 | + } | ||
| 82 | + sb.append(",请乘客合理安排出行。"); | ||
| 83 | + result.put(notice.getNOTICE_XL(),sb.toString()); | ||
| 84 | + }else if(notice.getNOTICE_TYPE()==2){ | ||
| 85 | + result.put("area", GG.getDescription(notice.getNOTICE_GG())); | ||
| 86 | + } | ||
| 87 | + | ||
| 88 | + } | ||
| 89 | + rs.put("status", ResponseCode.SUCCESS); | ||
| 90 | + Map m=result.asMap(); | ||
| 91 | + List list1=new ArrayList(); | ||
| 92 | + Set<String> keys=m.keySet(); | ||
| 93 | + for (String key : keys) { | ||
| 94 | + Map m2=new HashMap(); | ||
| 95 | + m2.put("lineId",key); | ||
| 96 | + m2.put("msg",m.get(key)); | ||
| 97 | + list1.add(m2); | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + rs.put("notice", list1); | ||
| 101 | + } | ||
| 102 | + catch (Exception e){ | ||
| 103 | + log.error("", e); | ||
| 104 | + rs.put("status", ResponseCode.ERROR); | ||
| 105 | + rs.put("msg", e.getMessage()); | ||
| 106 | + } | ||
| 107 | + return rs; | ||
| 108 | + } | ||
| 109 | + @Override | ||
| 110 | + public Map<String, Object> deleteInfo(Notice rr) { | ||
| 111 | + Map<String, Object> map = new HashMap<>(); | ||
| 112 | + try{ | ||
| 113 | + Long id = rr.getID(); | ||
| 114 | + String bbr = rr.getNOTICE_BBR(); | ||
| 115 | + | ||
| 116 | + jdbcTemplate.update("UPDATE bsth_t_notice SET STATUS = 2,NOTICE_BBR = ? WHERE ID = ? ",bbr,id); | ||
| 117 | + map.put("status", ResponseCode.SUCCESS); | ||
| 118 | + }catch(DataIntegrityViolationException de){ | ||
| 119 | + map.put("status", ResponseCode.ERROR); | ||
| 120 | + map.put("msg", "“完整性约束”校验失败,请检查要删除的对象是否存在外键约束"); | ||
| 121 | + } | ||
| 122 | + return map; | ||
| 123 | + } | ||
| 124 | +} |
src/main/java/com/bsth/data/notice/entity/GG.java
0 → 100644
| 1 | +package com.bsth.data.notice.entity; | ||
| 2 | + | ||
| 3 | +public enum GG { | ||
| 4 | + GG1("0", "雨天路滑,安全出行。"), | ||
| 5 | + GG2("1", "高峰时段,道路拥堵,请乘客合理安排出行。"), | ||
| 6 | + GG3("2", "请先下后上,注意乘车安全。"); | ||
| 7 | + | ||
| 8 | + private String code; | ||
| 9 | + private String description; | ||
| 10 | + | ||
| 11 | + GG(String code, String description) { | ||
| 12 | + this.code = code; | ||
| 13 | + this.description = description; | ||
| 14 | + } | ||
| 15 | + | ||
| 16 | + | ||
| 17 | + public static String getDescription(String number){ | ||
| 18 | + String description =""; | ||
| 19 | + for (GG e : GG.values()) { | ||
| 20 | + if(e.code.equals(number)){ | ||
| 21 | + return e.description; | ||
| 22 | + } | ||
| 23 | + } | ||
| 24 | + return description; | ||
| 25 | + } | ||
| 26 | + | ||
| 27 | +} |
src/main/java/com/bsth/data/notice/entity/Notice.java
0 → 100644
| 1 | +package com.bsth.data.notice.entity; | ||
| 2 | + | ||
| 3 | +import javax.persistence.*; | ||
| 4 | +import java.text.DateFormat; | ||
| 5 | +import java.text.SimpleDateFormat; | ||
| 6 | +import java.util.Date; | ||
| 7 | + | ||
| 8 | + | ||
| 9 | +@Entity | ||
| 10 | +@Table(name = "bsth_t_notice") | ||
| 11 | +public class Notice { | ||
| 12 | + | ||
| 13 | + @Id | ||
| 14 | + @GeneratedValue(strategy = GenerationType.IDENTITY) | ||
| 15 | + private long ID; | ||
| 16 | + | ||
| 17 | + /** 类型,1:突发事件,2:区域公告 */ | ||
| 18 | + private Integer NOTICE_TYPE; | ||
| 19 | + /** 时间*/ | ||
| 20 | + private Date NOTICE_DATE; | ||
| 21 | + /** 时间*/ | ||
| 22 | + private Date NOTICE_TIME; | ||
| 23 | + /** 报备人*/ | ||
| 24 | + private String NOTICE_BBR; | ||
| 25 | + /** 线路编码 */ | ||
| 26 | + private String NOTICE_XL; | ||
| 27 | + /** 线路名*/ | ||
| 28 | + private String NOTICE_XLNAME; | ||
| 29 | + /** 行驶方向*/ | ||
| 30 | + private String NOTICE_XSFX; | ||
| 31 | + /** 站点*/ | ||
| 32 | + private String NOTICE_STATION; | ||
| 33 | + /** 站点名*/ | ||
| 34 | + private String NOTICE_STATIONNAME; | ||
| 35 | + /** 突发事件*/ | ||
| 36 | + private String NOTICE_TFSJ; | ||
| 37 | + /** 事件影响*/ | ||
| 38 | + private String NOTICE_SJYX; | ||
| 39 | + /** 区域*/ | ||
| 40 | + private String NOTICE_QY; | ||
| 41 | + /** 公告*/ | ||
| 42 | + private String NOTICE_GG; | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + /** 访问接口时使用的状态码 操作类型,0:新增;1:修改;2:删除 */ | ||
| 46 | + private String STATUS; | ||
| 47 | + /** 创建人*/ | ||
| 48 | + private String CREATE_BY; | ||
| 49 | + /** 创建时间 */ | ||
| 50 | + @Column(updatable = false, name = "CREATE_DATE", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP") | ||
| 51 | + private Date CREATE_DATE; | ||
| 52 | + /** 修改人*/ | ||
| 53 | + private String UPDATE_BY; | ||
| 54 | + /** 修改时间*/ | ||
| 55 | + @Column(name = "UPDATE_DATE", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") | ||
| 56 | + private Date UPDATE_DATE; | ||
| 57 | + | ||
| 58 | + public long getID() { | ||
| 59 | + return ID; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setID(long ID) { | ||
| 63 | + this.ID = ID; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public Integer getNOTICE_TYPE() { | ||
| 67 | + return NOTICE_TYPE; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setNOTICE_TYPE(Integer NOTICE_TYPE) { | ||
| 71 | + this.NOTICE_TYPE = NOTICE_TYPE; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public Date getNOTICE_DATE() { | ||
| 75 | + return NOTICE_DATE; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setNOTICE_DATE(Date NOTICE_DATE) { | ||
| 79 | + this.NOTICE_DATE = NOTICE_DATE; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public Date getNOTICE_TIME() { | ||
| 83 | + return NOTICE_TIME; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setNOTICE_TIME(Date NOTICE_TIME) { | ||
| 87 | + this.NOTICE_TIME = NOTICE_TIME; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public String getNOTICE_BBR() { | ||
| 91 | + return NOTICE_BBR; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setNOTICE_BBR(String NOTICE_BBR) { | ||
| 95 | + this.NOTICE_BBR = NOTICE_BBR; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getNOTICE_XL() { | ||
| 99 | + return NOTICE_XL; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setNOTICE_XL(String NOTICE_XL) { | ||
| 103 | + this.NOTICE_XL = NOTICE_XL; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getNOTICE_XLNAME() { | ||
| 107 | + return NOTICE_XLNAME; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setNOTICE_XLNAME(String NOTICE_XLNAME) { | ||
| 111 | + this.NOTICE_XLNAME = NOTICE_XLNAME; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getNOTICE_XSFX() { | ||
| 115 | + return NOTICE_XSFX; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setNOTICE_XSFX(String NOTICE_XSFX) { | ||
| 119 | + this.NOTICE_XSFX = NOTICE_XSFX; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public String getNOTICE_STATION() { | ||
| 123 | + return NOTICE_STATION; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setNOTICE_STATION(String NOTICE_STATION) { | ||
| 127 | + this.NOTICE_STATION = NOTICE_STATION; | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public String getNOTICE_STATIONNAME() { | ||
| 131 | + return NOTICE_STATIONNAME; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setNOTICE_STATIONNAME(String NOTICE_STATIONNAME) { | ||
| 135 | + this.NOTICE_STATIONNAME = NOTICE_STATIONNAME; | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public String getNOTICE_TFSJ() { | ||
| 139 | + return NOTICE_TFSJ; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public void setNOTICE_TFSJ(String NOTICE_TFSJ) { | ||
| 143 | + this.NOTICE_TFSJ = NOTICE_TFSJ; | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public String getNOTICE_SJYX() { | ||
| 147 | + return NOTICE_SJYX; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public void setNOTICE_SJYX(String NOTICE_SJYX) { | ||
| 151 | + this.NOTICE_SJYX = NOTICE_SJYX; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + public String getNOTICE_QY() { | ||
| 155 | + return NOTICE_QY; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + public void setNOTICE_QY(String NOTICE_QY) { | ||
| 159 | + this.NOTICE_QY = NOTICE_QY; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + public String getNOTICE_GG() { | ||
| 163 | + return NOTICE_GG; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + public void setNOTICE_GG(String NOTICE_GG) { | ||
| 167 | + this.NOTICE_GG = NOTICE_GG; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + public String getSTATUS() { | ||
| 171 | + return STATUS; | ||
| 172 | + } | ||
| 173 | + | ||
| 174 | + public void setSTATUS(String STATUS) { | ||
| 175 | + this.STATUS = STATUS; | ||
| 176 | + } | ||
| 177 | + | ||
| 178 | + public String getCREATE_BY() { | ||
| 179 | + return CREATE_BY; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + public void setCREATE_BY(String CREATE_BY) { | ||
| 183 | + this.CREATE_BY = CREATE_BY; | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + public Date getCREATE_DATE() { | ||
| 187 | + return CREATE_DATE; | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + public void setCREATE_DATE(Date CREATE_DATE) { | ||
| 191 | + this.CREATE_DATE = CREATE_DATE; | ||
| 192 | + } | ||
| 193 | + | ||
| 194 | + public String getUPDATE_BY() { | ||
| 195 | + return UPDATE_BY; | ||
| 196 | + } | ||
| 197 | + | ||
| 198 | + public void setUPDATE_BY(String UPDATE_BY) { | ||
| 199 | + this.UPDATE_BY = UPDATE_BY; | ||
| 200 | + } | ||
| 201 | + | ||
| 202 | + public Date getUPDATE_DATE() { | ||
| 203 | + return UPDATE_DATE; | ||
| 204 | + } | ||
| 205 | + | ||
| 206 | + public void setUPDATE_DATE(Date UPDATE_DATE) { | ||
| 207 | + this.UPDATE_DATE = UPDATE_DATE; | ||
| 208 | + } | ||
| 209 | +} |
src/main/java/com/bsth/data/notice/entity/QY.java
0 → 100644
| 1 | +package com.bsth.data.notice.entity; | ||
| 2 | + | ||
| 3 | +public enum QY { | ||
| 4 | + QY0("0", "全部"), | ||
| 5 | + QY1("1", "区域1"), | ||
| 6 | + QY2("2", "区域2"), | ||
| 7 | + QY3("3", "区域3"); | ||
| 8 | + | ||
| 9 | + private String code; | ||
| 10 | + private String description; | ||
| 11 | + | ||
| 12 | + QY(String code, String description) { | ||
| 13 | + this.code = code; | ||
| 14 | + this.description = description; | ||
| 15 | + } | ||
| 16 | + | ||
| 17 | + | ||
| 18 | + public static String getDescription(String number){ | ||
| 19 | + String description =""; | ||
| 20 | + for (QY e : QY.values()) { | ||
| 21 | + if(e.code.equals(number)){ | ||
| 22 | + return e.description; | ||
| 23 | + } | ||
| 24 | + } | ||
| 25 | + return description; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | +} |
src/main/java/com/bsth/data/notice/entity/SJYX.java
0 → 100644
| 1 | +package com.bsth.data.notice.entity; | ||
| 2 | + | ||
| 3 | +public enum SJYX { | ||
| 4 | + ZDHD("1", "临时改道"), | ||
| 5 | + ELTQ("2", "班次延误"); | ||
| 6 | + | ||
| 7 | + private String code; | ||
| 8 | + private String description; | ||
| 9 | + | ||
| 10 | + SJYX(String code, String description) { | ||
| 11 | + this.code = code; | ||
| 12 | + this.description = description; | ||
| 13 | + } | ||
| 14 | + | ||
| 15 | + | ||
| 16 | + public static String getDescription(String number){ | ||
| 17 | + String description =""; | ||
| 18 | + for (SJYX e : SJYX.values()) { | ||
| 19 | + if(e.code.equals(number)){ | ||
| 20 | + return e.description; | ||
| 21 | + } | ||
| 22 | + } | ||
| 23 | + return description; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | +} |
src/main/java/com/bsth/data/notice/entity/TFSJ.java
0 → 100644
| 1 | +package com.bsth.data.notice.entity; | ||
| 2 | + | ||
| 3 | +public enum TFSJ { | ||
| 4 | + ZDHD("1", "重大活动"), | ||
| 5 | + ELTQ("2", "恶劣天气"), | ||
| 6 | + JTSG("3", "交通事故"), | ||
| 7 | + DLYD("4", "道路拥堵"); | ||
| 8 | + | ||
| 9 | + private String code; | ||
| 10 | + private String description; | ||
| 11 | + | ||
| 12 | + TFSJ(String code, String description) { | ||
| 13 | + this.code = code; | ||
| 14 | + this.description = description; | ||
| 15 | + } | ||
| 16 | + | ||
| 17 | + | ||
| 18 | + public static String getDescription(String number){ | ||
| 19 | + String description =""; | ||
| 20 | + for (TFSJ e : TFSJ.values()) { | ||
| 21 | + if(e.code.equals(number)){ | ||
| 22 | + return e.description; | ||
| 23 | + } | ||
| 24 | + } | ||
| 25 | + return description; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | +} |
src/main/java/com/bsth/data/notice/repository/NoticeRepository.java
0 → 100644
| 1 | +package com.bsth.data.notice.repository; | ||
| 2 | + | ||
| 3 | +import com.bsth.data.notice.entity.Notice; | ||
| 4 | +import com.bsth.repository.BaseRepository; | ||
| 5 | +import org.springframework.stereotype.Repository; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * | ||
| 9 | + * @Interface: NoticeRepository(站点公告Repository数据持久层接口) | ||
| 10 | + * | ||
| 11 | + * @Author YM | ||
| 12 | + * | ||
| 13 | + * @Date 2024-11-07 | ||
| 14 | + * | ||
| 15 | + * @Version 公交调度系统BS版 0.1 | ||
| 16 | + * | ||
| 17 | + */ | ||
| 18 | + | ||
| 19 | +@Repository | ||
| 20 | +public interface NoticeRepository extends BaseRepository<Notice, Long> { | ||
| 21 | + | ||
| 22 | +} |
src/main/java/com/bsth/data/zndd/OutEntrance.java
| @@ -11,6 +11,7 @@ import com.bsth.entity.zndd.StationPeopleLogger; | @@ -11,6 +11,7 @@ import com.bsth.entity.zndd.StationPeopleLogger; | ||
| 11 | import com.bsth.entity.zndd.StationSignsLogger; | 11 | import com.bsth.entity.zndd.StationSignsLogger; |
| 12 | import com.bsth.service.schedule.utils.Md5Util; | 12 | import com.bsth.service.schedule.utils.Md5Util; |
| 13 | import com.bsth.util.HttpClientUtils; | 13 | import com.bsth.util.HttpClientUtils; |
| 14 | +import com.bsth.util.SignUtils; | ||
| 14 | import com.bsth.websocket.handler.SendUtils; | 15 | import com.bsth.websocket.handler.SendUtils; |
| 15 | import com.fasterxml.jackson.databind.ObjectMapper; | 16 | import com.fasterxml.jackson.databind.ObjectMapper; |
| 16 | import org.slf4j.Logger; | 17 | import org.slf4j.Logger; |
| @@ -20,12 +21,12 @@ import org.springframework.beans.factory.annotation.Value; | @@ -20,12 +21,12 @@ import org.springframework.beans.factory.annotation.Value; | ||
| 20 | import org.springframework.web.bind.annotation.*; | 21 | import org.springframework.web.bind.annotation.*; |
| 21 | import java.io.*; | 22 | import java.io.*; |
| 22 | import java.text.SimpleDateFormat; | 23 | import java.text.SimpleDateFormat; |
| 24 | +import java.time.Duration; | ||
| 23 | import java.time.LocalTime; | 25 | import java.time.LocalTime; |
| 24 | import java.time.format.DateTimeFormatter; | 26 | import java.time.format.DateTimeFormatter; |
| 25 | import java.util.*; | 27 | import java.util.*; |
| 26 | import java.util.concurrent.ConcurrentHashMap; | 28 | import java.util.concurrent.ConcurrentHashMap; |
| 27 | import java.util.concurrent.ConcurrentMap; | 29 | import java.util.concurrent.ConcurrentMap; |
| 28 | -import java.util.stream.Collectors; | ||
| 29 | 30 | ||
| 30 | /** | 31 | /** |
| 31 | * 对外接口 | 32 | * 对外接口 |
| @@ -56,16 +57,12 @@ public class OutEntrance { | @@ -56,16 +57,12 @@ public class OutEntrance { | ||
| 56 | @Autowired | 57 | @Autowired |
| 57 | carMonitor carMonitor; | 58 | carMonitor carMonitor; |
| 58 | 59 | ||
| 59 | - private static final String PASSWORD="e126853c7f6f43b4857fa8dfe3b28b5d90be9e68"; | ||
| 60 | - | ||
| 61 | - | ||
| 62 | - | ||
| 63 | //调度屏小程序接口。 | 60 | //调度屏小程序接口。 |
| 64 | @RequestMapping(value = "/OutCar", method = RequestMethod.POST) | 61 | @RequestMapping(value = "/OutCar", method = RequestMethod.POST) |
| 65 | public Map OutCarOutCar(@RequestParam Map m,@RequestBody StationSignsLogger ssLogger) { | 62 | public Map OutCarOutCar(@RequestParam Map m,@RequestBody StationSignsLogger ssLogger) { |
| 66 | Map rtn = new HashMap<>(); | 63 | Map rtn = new HashMap<>(); |
| 67 | try { | 64 | try { |
| 68 | - if(!validation(ssLogger.getTimestamp(),ssLogger.getSign())){ | 65 | + if(!SignUtils.validation(ssLogger.getTimestamp(),ssLogger.getSign())){ |
| 69 | rtn.put("status", "验证失败"); | 66 | rtn.put("status", "验证失败"); |
| 70 | return rtn; | 67 | return rtn; |
| 71 | } | 68 | } |
| @@ -75,9 +72,12 @@ public class OutEntrance { | @@ -75,9 +72,12 @@ public class OutEntrance { | ||
| 75 | m.put("lineName",BasicData.lineCode2NameMap.get(ssLogger.getLineCode())); | 72 | m.put("lineName",BasicData.lineCode2NameMap.get(ssLogger.getLineCode())); |
| 76 | m.put("num",ssLogger.getNum()); | 73 | m.put("num",ssLogger.getNum()); |
| 77 | m.put("dir",ssLogger.getDir()); | 74 | m.put("dir",ssLogger.getDir()); |
| 78 | - | 75 | + m.put("calleeId",ssLogger.getCalleeId()); |
| 79 | //线调页面推送 | 76 | //线调页面推送 |
| 80 | - sendUtils.stationcf(m); | 77 | + if(ssLogger.getNum()>15){ |
| 78 | + sendUtils.stationcf(m); | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | 81 | ||
| 82 | //查询班次情况自动回复 | 82 | //查询班次情况自动回复 |
| 83 | //当前日期 | 83 | //当前日期 |
| @@ -96,19 +96,24 @@ public class OutEntrance { | @@ -96,19 +96,24 @@ public class OutEntrance { | ||
| 96 | }else { | 96 | }else { |
| 97 | //筛选方向 | 97 | //筛选方向 |
| 98 | List<ScheduleRealInfo> rs = dayOfSchedule.findByLineCode(ssLogger.getLineCode()); | 98 | List<ScheduleRealInfo> rs = dayOfSchedule.findByLineCode(ssLogger.getLineCode()); |
| 99 | - //排序 | ||
| 100 | - Collections.sort(rs,new ScheduleComparator.FCSJ()); | ||
| 101 | - SimpleDateFormat sdf= new SimpleDateFormat("HH:ss"); | ||
| 102 | - String sjtext = ""; | ||
| 103 | - LocalTime t1 = LocalTime.parse(sdf.format(new Date()), DateTimeFormatter.ofPattern("HH:mm")); | ||
| 104 | - for (ScheduleRealInfo sr:rs) { | ||
| 105 | - LocalTime t2 = LocalTime.parse(sr.getFcsj(), DateTimeFormatter.ofPattern("HH:mm")); | ||
| 106 | - //判断上下行 | ||
| 107 | - if(t1.isAfter(t2)){ | ||
| 108 | - sjtext = sr.getFcsj(); | 99 | + if(rs.size()>0){ |
| 100 | + //排序 | ||
| 101 | + Collections.sort(rs,new ScheduleComparator.FCSJ()); | ||
| 102 | + SimpleDateFormat sdf= new SimpleDateFormat("HH:ss"); | ||
| 103 | + String sjtext = ""; | ||
| 104 | + LocalTime t1 = LocalTime.parse(sdf.format(new Date()), DateTimeFormatter.ofPattern("HH:mm")); | ||
| 105 | + for (ScheduleRealInfo sr:rs) { | ||
| 106 | + LocalTime t2 = LocalTime.parse(sr.getFcsj(), DateTimeFormatter.ofPattern("HH:mm")); | ||
| 107 | + //判断上下行 | ||
| 108 | + if(t1.isAfter(t2)){ | ||
| 109 | + sjtext = sr.getFcsj(); | ||
| 110 | + } | ||
| 109 | } | 111 | } |
| 112 | + rtn.put("message","车辆预计"+sjtext+"发车,请耐心等待"); | ||
| 113 | + }else { | ||
| 114 | + rtn.put("message","当日运营已结束"); | ||
| 110 | } | 115 | } |
| 111 | - rtn.put("message","车辆预计"+sjtext+"发车,请耐心等待"); | 116 | + |
| 112 | } | 117 | } |
| 113 | 118 | ||
| 114 | rtn.put("status",ResponseCode.SUCCESS); | 119 | rtn.put("status",ResponseCode.SUCCESS); |
| @@ -121,12 +126,18 @@ public class OutEntrance { | @@ -121,12 +126,18 @@ public class OutEntrance { | ||
| 121 | 126 | ||
| 122 | 127 | ||
| 123 | @RequestMapping(value = "/klyj", method = RequestMethod.POST) | 128 | @RequestMapping(value = "/klyj", method = RequestMethod.POST) |
| 124 | - public void klyj(@RequestBody JSONObject jsonObject) { | 129 | + public Map klyj(@RequestBody JSONObject jsonObject) { |
| 130 | + Map rtn = new HashMap<>(); | ||
| 125 | try { | 131 | try { |
| 126 | - if(!validation(Long.parseLong(jsonObject.getString("timestamp")),jsonObject.getString("sign"))){ | ||
| 127 | - return ; | 132 | + if(!SignUtils.validation(Long.parseLong(jsonObject.getString("timestamp")),jsonObject.getString("sign"))){ |
| 133 | + rtn.put("status", "验证失败"); | ||
| 134 | + return rtn; | ||
| 128 | } | 135 | } |
| 129 | String num=jsonObject.getString("num"); | 136 | String num=jsonObject.getString("num"); |
| 137 | + if(Integer.parseInt(num)<15){ | ||
| 138 | + rtn.put("status",ResponseCode.SUCCESS); | ||
| 139 | + return rtn; | ||
| 140 | + } | ||
| 130 | String image=jsonObject.getString("image"); | 141 | String image=jsonObject.getString("image"); |
| 131 | String img=uploadBase64Img(image); | 142 | String img=uploadBase64Img(image); |
| 132 | JSONArray jsonArray = jsonObject.getJSONArray("stations"); | 143 | JSONArray jsonArray = jsonObject.getJSONArray("stations"); |
| @@ -136,16 +147,17 @@ public class OutEntrance { | @@ -136,16 +147,17 @@ public class OutEntrance { | ||
| 136 | JSONObject line=jsonArray.getJSONObject(i); | 147 | JSONObject line=jsonArray.getJSONObject(i); |
| 137 | String lineCode = line.get("lineCode").toString(); | 148 | String lineCode = line.get("lineCode").toString(); |
| 138 | String stationCode = line.get("stationCode").toString(); | 149 | String stationCode = line.get("stationCode").toString(); |
| 139 | - StationRoute stationRoute=BasicData.stationCode2StationMap.get(lineCode+"_"+stationCode); | 150 | + String dir = line.get("dir").toString(); |
| 151 | + /*StationRoute stationRoute=BasicData.stationCode2StationMap.get(lineCode+"_"+stationCode);*/ | ||
| 140 | Map m = new HashMap(); | 152 | Map m = new HashMap(); |
| 141 | m.put("image", img); | 153 | m.put("image", img); |
| 142 | m.put("stationCode", stationCode); | 154 | m.put("stationCode", stationCode); |
| 143 | - m.put("lineCode", stationRoute.getLineCode()); | ||
| 144 | - m.put("stationName",BasicData.stationCode2NameMap.get(stationRoute.getLineCode()+"_"+stationRoute.getDirections()+"_"+stationRoute.getStationCode())); | ||
| 145 | - m.put("lineName",BasicData.lineCode2NameMap.get(stationRoute.getLineCode())); | 155 | + m.put("lineCode", lineCode); |
| 156 | + m.put("stationName",BasicData.stationCode2NameMap.get(lineCode+"_"+dir+"_"+stationCode)); | ||
| 157 | + m.put("lineName",BasicData.lineCode2NameMap.get(lineCode)); | ||
| 146 | m.put("num",num); | 158 | m.put("num",num); |
| 147 | - m.put("xlDir",stationRoute.getDirections()); | ||
| 148 | - List<ScheduleRealInfo> srList=dayOfSchedule.findByLineAndUpDown(stationRoute.getLineCode(),stationRoute.getDirections()); | 159 | + m.put("xlDir",dir); |
| 160 | + List<ScheduleRealInfo> srList=dayOfSchedule.findByLineAndUpDown(lineCode,Integer.parseInt(dir)); | ||
| 149 | List<ScheduleRealInfo> sl=new ArrayList<>(); | 161 | List<ScheduleRealInfo> sl=new ArrayList<>(); |
| 150 | for (ScheduleRealInfo scheduleRealInfo : srList) {//筛选出运营班次 | 162 | for (ScheduleRealInfo scheduleRealInfo : srList) {//筛选出运营班次 |
| 151 | if((scheduleRealInfo.getBcType().equals("normal")||scheduleRealInfo.getBcType().equals("region"))){ | 163 | if((scheduleRealInfo.getBcType().equals("normal")||scheduleRealInfo.getBcType().equals("region"))){ |
| @@ -159,11 +171,15 @@ public class OutEntrance { | @@ -159,11 +171,15 @@ public class OutEntrance { | ||
| 159 | } | 171 | } |
| 160 | }); | 172 | }); |
| 161 | ScheduleRealInfo schedule = null; | 173 | ScheduleRealInfo schedule = null; |
| 174 | + ScheduleRealInfo schedule2 = null; | ||
| 162 | for (int i1 = 0; i1 < sl.size(); i1++) {//最近的已发车班次 | 175 | for (int i1 = 0; i1 < sl.size(); i1++) {//最近的已发车班次 |
| 163 | ScheduleRealInfo scheduleRealInfo=sl.get(i1); | 176 | ScheduleRealInfo scheduleRealInfo=sl.get(i1); |
| 164 | LocalTime fcsj=LocalTime.parse(scheduleRealInfo.getFcsj(),dateTimeFormatter); | 177 | LocalTime fcsj=LocalTime.parse(scheduleRealInfo.getFcsj(),dateTimeFormatter); |
| 165 | - if((scheduleRealInfo.getBcType().equals("normal")||scheduleRealInfo.getBcType().equals("region")) &&scheduleRealInfo.getXlDir().equals(String.valueOf(stationRoute.getDirections())) && fcsj.isAfter(localTime)){ | ||
| 166 | - schedule =sl.get(i1-1);; | 178 | + if(fcsj.isAfter(localTime)){ |
| 179 | + schedule =sl.get(i1-1); | ||
| 180 | + if(i1<sl.size()){ | ||
| 181 | + schedule2 =sl.get(i1); | ||
| 182 | + } | ||
| 167 | break; | 183 | break; |
| 168 | } | 184 | } |
| 169 | } | 185 | } |
| @@ -172,13 +188,26 @@ public class OutEntrance { | @@ -172,13 +188,26 @@ public class OutEntrance { | ||
| 172 | m.put("sch",schedule); | 188 | m.put("sch",schedule); |
| 173 | m.put("uuid",AutomaticSch.UUID()); | 189 | m.put("uuid",AutomaticSch.UUID()); |
| 174 | m.put("rq",localTime.format(dateTimeFormatter)); //检测到时间 | 190 | m.put("rq",localTime.format(dateTimeFormatter)); //检测到时间 |
| 191 | + m.put("ids",AutomaticSch.UUID()); | ||
| 192 | + m.put("type","KLYJ"); | ||
| 193 | + LocalTime fcsj = LocalTime.parse(schedule2.getDfsj(),DateTimeFormatter.ofPattern("HH:mm")); | ||
| 194 | + LocalTime now = LocalTime.now(); | ||
| 195 | + if(Duration.between(now,fcsj).toMinutes()==0){ | ||
| 196 | + m.put("msg","下一个班次即将发车"); | ||
| 197 | + }else { | ||
| 198 | + m.put("msg","下一个班次预计还有"+ Duration.between(now,fcsj).toMinutes() +"分钟发车"); | ||
| 199 | + } | ||
| 200 | + | ||
| 175 | sendUtils.klyj(m); | 201 | sendUtils.klyj(m); |
| 176 | } | 202 | } |
| 177 | 203 | ||
| 178 | } | 204 | } |
| 205 | + rtn.put("status",ResponseCode.SUCCESS); | ||
| 179 | } catch (Exception e) { | 206 | } catch (Exception e) { |
| 180 | - e.printStackTrace(); | 207 | + rtn.put("status", ResponseCode.ERROR); |
| 208 | + logger.error("",e); | ||
| 181 | } | 209 | } |
| 210 | + return rtn; | ||
| 182 | } | 211 | } |
| 183 | 212 | ||
| 184 | /* | 213 | /* |
| @@ -233,8 +262,8 @@ public class OutEntrance { | @@ -233,8 +262,8 @@ public class OutEntrance { | ||
| 233 | 262 | ||
| 234 | /** | 263 | /** |
| 235 | * 保存base64图片 | 264 | * 保存base64图片 |
| 236 | - * @param base64Str base64文件 | ||
| 237 | - * @param 上传地址(示例:D:\\1.png) | 265 | + * @param base base64文件 |
| 266 | + * @param (示例:D:\\1.png) | ||
| 238 | * @return | 267 | * @return |
| 239 | */ | 268 | */ |
| 240 | public String uploadBase64Img(String base) throws Exception { | 269 | public String uploadBase64Img(String base) throws Exception { |
| @@ -320,15 +349,5 @@ public class OutEntrance { | @@ -320,15 +349,5 @@ public class OutEntrance { | ||
| 320 | return traffic.get("trafficStatus").toString(); | 349 | return traffic.get("trafficStatus").toString(); |
| 321 | } | 350 | } |
| 322 | 351 | ||
| 323 | - public boolean validation(long timestamp,String sign){ | ||
| 324 | - String md5String=Md5Util.getMd5(timestamp+PASSWORD); | ||
| 325 | - if(!md5String.equals(sign)){ | ||
| 326 | - return false; | ||
| 327 | - } | ||
| 328 | - if(System.currentTimeMillis()-timestamp>60*1000){ | ||
| 329 | - return false; | ||
| 330 | - } | ||
| 331 | - return true; | ||
| 332 | - } | ||
| 333 | 352 | ||
| 334 | } | 353 | } |
src/main/java/com/bsth/data/zndd/carMonitor.java
| @@ -26,7 +26,7 @@ public class carMonitor { | @@ -26,7 +26,7 @@ public class carMonitor { | ||
| 26 | public List<Map> carMonitor(String lineCode,String directions,String station) { | 26 | public List<Map> carMonitor(String lineCode,String directions,String station) { |
| 27 | 27 | ||
| 28 | List<Map> list = new ArrayList<>(); //返回的接口数据 | 28 | List<Map> list = new ArrayList<>(); //返回的接口数据 |
| 29 | - url = "http://127.0.0.1:9777/xxfb/jd/carMonitor?lineid="+lineCode+"&stopid="+station+"&direction="+directions; | 29 | + url = "http://58.34.52.130:9777/xxfb/jd/carMonitor?lineid="+lineCode+"&stopid="+station+"&direction="+directions; |
| 30 | InputStream in = null; | 30 | InputStream in = null; |
| 31 | OutputStream out = null; | 31 | OutputStream out = null; |
| 32 | try { | 32 | try { |
src/main/java/com/bsth/data/zndd/voice/GJC.java
0 → 100644
| 1 | +package com.bsth.data.zndd.voice; | ||
| 2 | + | ||
| 3 | +import java.util.*; | ||
| 4 | + | ||
| 5 | +public enum GJC { | ||
| 6 | + CX(1, "撤销"), | ||
| 7 | + QX(1, "取消"), | ||
| 8 | + XZ(2, "新增"), | ||
| 9 | + TJ(2, "添加"), | ||
| 10 | + LJ(2, "临加"), | ||
| 11 | + TZ(3, "调整"), | ||
| 12 | + BC(4, "班次"), | ||
| 13 | + PB(4, "排班"), | ||
| 14 | + DF(5, "待发"), | ||
| 15 | + SF(6, "实发"), | ||
| 16 | + CC(7, "出场"), | ||
| 17 | + KQ(8, "开启"), | ||
| 18 | + GB(9, "关闭"), | ||
| 19 | + ge(10, "个"), | ||
| 20 | + dao(11, "到"), | ||
| 21 | + de(12, "的"); | ||
| 22 | + | ||
| 23 | + private int code; | ||
| 24 | + private String description; | ||
| 25 | + | ||
| 26 | + GJC(int code, String description) { | ||
| 27 | + this.code = code; | ||
| 28 | + this.description = description; | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + public int getCode() { | ||
| 32 | + return code; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + public void setCode(int code) { | ||
| 36 | + this.code = code; | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + public String getDescription() { | ||
| 40 | + return description; | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + public void setDescription(String description) { | ||
| 44 | + this.description = description; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public static int getNumber(String description){ | ||
| 48 | + int number = 999; | ||
| 49 | + for (GJC gjc : GJC.values()) { | ||
| 50 | + if(gjc.description.equals(description)){ | ||
| 51 | + number = gjc.code; | ||
| 52 | + } | ||
| 53 | + } | ||
| 54 | + return number; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public static Set<String> getDescription(int number){ | ||
| 58 | + Set<String> description = new HashSet<>(); | ||
| 59 | + for (GJC gjc : GJC.values()) { | ||
| 60 | + if(gjc.code==number){ | ||
| 61 | + description.add(gjc.description); | ||
| 62 | + } | ||
| 63 | + } | ||
| 64 | + return description; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public static Set<Integer> getGJC(String yy){ | ||
| 68 | + Set<Integer> set=new HashSet<>(); | ||
| 69 | + for (GJC gjc : GJC.values()) { | ||
| 70 | + char[] arr=gjc.description.toCharArray(); | ||
| 71 | + for (char c : arr) { | ||
| 72 | + if(UploadVideoServlet.getPinyin(yy).contains(UploadVideoServlet.getPinyin(String.valueOf(c)))){ | ||
| 73 | + set.add(gjc.code); | ||
| 74 | + } | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + } | ||
| 78 | + return set; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public static int getCount(int i){ | ||
| 82 | + int count=0; | ||
| 83 | + for (GJC gjc : GJC.values()) { | ||
| 84 | + if(gjc.code==i){ | ||
| 85 | + count++; | ||
| 86 | + } | ||
| 87 | + } | ||
| 88 | + return count; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + public static void main(String[] args) { | ||
| 92 | + List<Integer> list=new ArrayList<>(); | ||
| 93 | + list.add(1); | ||
| 94 | + list.add(2); | ||
| 95 | + list.add(4); | ||
| 96 | + Set<String> ml=new HashSet<>(); | ||
| 97 | + nestedLoop(list,"",ml); | ||
| 98 | + System.out.println(ml); | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + public static void nestedLoop(List<Integer> arr,String str,Set<String> ml) { | ||
| 102 | + if(arr.size()>0){ | ||
| 103 | + Set<String> set=getDescription(arr.get(0)); | ||
| 104 | + for (String s : set) { | ||
| 105 | + List list2=new ArrayList(); | ||
| 106 | + list2.addAll(arr); | ||
| 107 | + list2.remove(0); | ||
| 108 | + nestedLoop(list2,str+s,ml); | ||
| 109 | + } | ||
| 110 | + }else { | ||
| 111 | + ml.add(str); | ||
| 112 | + } | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + | ||
| 116 | +} |
src/main/java/com/bsth/data/zndd/voice/UploadVideoServlet.java
| @@ -121,44 +121,84 @@ public class UploadVideoServlet extends HttpServlet { | @@ -121,44 +121,84 @@ public class UploadVideoServlet extends HttpServlet { | ||
| 121 | //定义输出类型 | 121 | //定义输出类型 |
| 122 | response.setHeader("Content-type", "text/html;charset=UTF-8"); | 122 | response.setHeader("Content-type", "text/html;charset=UTF-8"); |
| 123 | PrintWriter writer = response.getWriter(); | 123 | PrintWriter writer = response.getWriter(); |
| 124 | - List<retun> list1 = new ArrayList<>(); | ||
| 125 | String text = textList.get(0).toString(); | 124 | String text = textList.get(0).toString(); |
| 126 | - | ||
| 127 | - | ||
| 128 | - //帮我添加一个夏硕路林兰路到鸿音路云端路的班次 | ||
| 129 | - String fcsj = null;//线路名,上下行,发车时间 | ||
| 130 | - String[] ks = text.replace(",","").split("到"); | ||
| 131 | - String Station1= ks[0].split("个")[1]; | ||
| 132 | - String Station2= ks[1].split("的")[0]; | ||
| 133 | - //发车时间 | ||
| 134 | - fcsj = extractTimes(text); | ||
| 135 | - //线路名称 - 线路编码和名称对照 | ||
| 136 | - | ||
| 137 | - Map<String, Object> param = new HashMap<>(); | ||
| 138 | - param.put("lineCode_eq", line); | ||
| 139 | - param.put("directions_eq", 0); | ||
| 140 | - param.put("destroy_eq", 0); | ||
| 141 | - List<StationRoute> stationup = ((List<StationRoute>) stationRouteService.list(param)); | ||
| 142 | - //上行匹配 | ||
| 143 | - Map m = pyPp(stationup,Station1,Station2); | ||
| 144 | - if (m.get("stationcode1") == null || m.get("stationcode2") == null){ | ||
| 145 | - param.put("directions_eq",1); | ||
| 146 | - List<StationRoute> stationdown = ((List<StationRoute>) stationRouteService.list(param)); | ||
| 147 | - //下行匹配 | ||
| 148 | - Map smap = pyPp(stationdown,Station1,Station2); | ||
| 149 | - if (smap.get("stationcode1") == null || smap.get("stationcode2") == null){ | ||
| 150 | - writer.write(text +","+"99999"); | 125 | + //text="新增出厂班次"; |
| 126 | + //text="帮我添加一个鸿音路南芦公路到临港大道枢纽站的班次"; | ||
| 127 | + if(isSimilarity(ZL.zdzdbc,text,null)){//帮我添加一个xx到xx站的班次(帮我添加一个鸿音路南芦公路到临港大道枢纽站的班次) | ||
| 128 | + String[] ks = text.replace(",","").split("到"); | ||
| 129 | + if(ks[0].split("个").length==1){ | ||
| 130 | + writer.write(text+"_识别失败"+",999"); | ||
| 151 | return; | 131 | return; |
| 152 | } | 132 | } |
| 153 | - | ||
| 154 | - writer.write(text +","+smap.get("stationcode1")+","+smap.get("stationcode2")+","+1); | 133 | + if(ks[1].split("的").length==1){ |
| 134 | + writer.write(text+"_识别失败"+",999"); | ||
| 135 | + return; | ||
| 136 | + } | ||
| 137 | + String Station1= ks[0].split("个")[1]; | ||
| 138 | + String Station2= ks[1].split("的")[0]; | ||
| 139 | + | ||
| 140 | + /* String fcsj = null;//线路名,上下行,发车时间 | ||
| 141 | + //发车时间 | ||
| 142 | + fcsj = extractTimes(text);*/ | ||
| 143 | + //线路名称 - 线路编码和名称对照 | ||
| 144 | + | ||
| 145 | + Map<String, Object> param = new HashMap<>(); | ||
| 146 | + param.put("lineCode_eq", line); | ||
| 147 | + param.put("directions_eq", 0); | ||
| 148 | + param.put("destroy_eq", 0); | ||
| 149 | + List<StationRoute> stationup = ((List<StationRoute>) stationRouteService.list(param)); | ||
| 150 | + //上行匹配 | ||
| 151 | + Map m = pyPp(stationup,Station1,Station2); | ||
| 152 | + if (m.get("stationcode1") == null || m.get("stationcode2") == null){ | ||
| 153 | + param.put("directions_eq",1); | ||
| 154 | + List<StationRoute> stationdown = ((List<StationRoute>) stationRouteService.list(param)); | ||
| 155 | + //下行匹配 | ||
| 156 | + Map smap = pyPp(stationdown,Station1,Station2); | ||
| 157 | + if (smap.get("stationcode1") == null || smap.get("stationcode2") == null){ | ||
| 158 | + writer.write(text +","+"999"); | ||
| 159 | + return; | ||
| 160 | + } | ||
| 161 | + writer.write(text +",1,"+smap.get("stationcode1")+","+smap.get("stationcode2")+","+1); | ||
| 162 | + return; | ||
| 163 | + } | ||
| 164 | + writer.write(text +",1,"+m.get("stationcode1")+","+m.get("stationcode2")+","+0); | ||
| 155 | return; | 165 | return; |
| 156 | } | 166 | } |
| 157 | - | ||
| 158 | - writer.write(text +","+m.get("stationcode1")+","+m.get("stationcode2")+","+0); | ||
| 159 | - return; | ||
| 160 | - | ||
| 161 | - //打开0 关闭1 临加2 999异常 | 167 | + if(isSimilarity(ZL.LJCCBC,text,null)){//添加出厂班次 |
| 168 | + writer.write(text+"_"+ZL.LJCCBC.getDescription()+",2"); | ||
| 169 | + return; | ||
| 170 | + } | ||
| 171 | + if(isSimilarity(ZL.LJBC,text,null)){//添加班次 | ||
| 172 | + writer.write(text+"_"+ZL.LJBC.getDescription()+",3"); | ||
| 173 | + return; | ||
| 174 | + } | ||
| 175 | + if(isSimilarity(ZL.QXBC,text,null)){//取消班次 | ||
| 176 | + writer.write(text+"_"+ZL.QXBC.getDescription()+",11"); | ||
| 177 | + return; | ||
| 178 | + } | ||
| 179 | + if(isSimilarity(ZL.QXSF,text,null)){//取消实发 | ||
| 180 | + writer.write(text+"_"+ZL.QXSF.getDescription()+",12"); | ||
| 181 | + return; | ||
| 182 | + } | ||
| 183 | + if(isSimilarity(ZL.TZDF,text,"待")){//调整待发 | ||
| 184 | + writer.write(text+"_"+ZL.TZDF.getDescription()+",21"); | ||
| 185 | + return; | ||
| 186 | + } | ||
| 187 | + if(isSimilarity(ZL.TZSF,text,"实")){//调整实发 | ||
| 188 | + writer.write(text+"_"+ZL.TZSF.getDescription()+",22"); | ||
| 189 | + return; | ||
| 190 | + } | ||
| 191 | + if(isSimilarity(ZL.KQ,text,null)){//启动 | ||
| 192 | + writer.write(text+"_"+ZL.KQ.getDescription()+",31"); | ||
| 193 | + return; | ||
| 194 | + } | ||
| 195 | + if(isSimilarity(ZL.GB,text,null)){//关闭 | ||
| 196 | + writer.write(text+"_"+ZL.GB.getDescription()+",41"); | ||
| 197 | + return; | ||
| 198 | + } | ||
| 199 | + else { | ||
| 200 | + writer.write(text+"_识别失败"+",999"); | ||
| 201 | + } | ||
| 162 | } | 202 | } |
| 163 | 203 | ||
| 164 | } catch (Exception e) { | 204 | } catch (Exception e) { |
| @@ -232,30 +272,45 @@ public class UploadVideoServlet extends HttpServlet { | @@ -232,30 +272,45 @@ public class UploadVideoServlet extends HttpServlet { | ||
| 232 | } | 272 | } |
| 233 | 273 | ||
| 234 | 274 | ||
| 235 | - | ||
| 236 | public static String getPinyin(String chinese) { | 275 | public static String getPinyin(String chinese) { |
| 237 | HanyuPinyinOutputFormat format = new HanyuPinyinOutputFormat(); | 276 | HanyuPinyinOutputFormat format = new HanyuPinyinOutputFormat(); |
| 238 | format.setCaseType(HanyuPinyinCaseType.LOWERCASE); | 277 | format.setCaseType(HanyuPinyinCaseType.LOWERCASE); |
| 239 | format.setToneType(HanyuPinyinToneType.WITHOUT_TONE); | 278 | format.setToneType(HanyuPinyinToneType.WITHOUT_TONE); |
| 240 | 279 | ||
| 241 | - StringBuilder pinyinBuilder = new StringBuilder(); | ||
| 242 | - char[] charArray = chinese.toCharArray(); | ||
| 243 | - for (char c : charArray) { | ||
| 244 | - String[] pinyinArray = null; | ||
| 245 | - try { | ||
| 246 | - pinyinArray = PinyinHelper.toHanyuPinyinStringArray(c, format); | ||
| 247 | - } catch (BadHanyuPinyinOutputFormatCombination e) { | ||
| 248 | - e.printStackTrace(); | 280 | + StringBuilder sb = new StringBuilder(); |
| 281 | + char[] chars = chinese.toCharArray(); | ||
| 282 | + for (char c : chars) { | ||
| 283 | + if (Character.isWhitespace(c)) { | ||
| 284 | + continue; | ||
| 249 | } | 285 | } |
| 250 | - if (pinyinArray != null) { | ||
| 251 | - pinyinBuilder.append(pinyinArray[0]); | 286 | + if (c >= '\u4e00' && c <= '\u9fa5') { |
| 287 | + try { | ||
| 288 | + String[] pinyinArray = PinyinHelper.toHanyuPinyinStringArray(c, format); | ||
| 289 | + sb.append(pinyinArray[0]); | ||
| 290 | + } catch (BadHanyuPinyinOutputFormatCombination e) { | ||
| 291 | + e.printStackTrace(); | ||
| 292 | + } | ||
| 252 | } else { | 293 | } else { |
| 253 | - pinyinBuilder.append(c); | 294 | + sb.append(c); |
| 254 | } | 295 | } |
| 255 | } | 296 | } |
| 256 | - return pinyinBuilder.toString(); | 297 | + return sb.toString(); |
| 257 | } | 298 | } |
| 258 | 299 | ||
| 300 | + | ||
| 301 | + //去除标点符号 | ||
| 302 | + public static String removePunctuation(String input) { | ||
| 303 | + String punctuationRegex = "[\\p{Punct}]"; | ||
| 304 | + input=input.replaceAll(punctuationRegex, ""); | ||
| 305 | + String regEx = "[`~!@#$%^&*()+=|{}':;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。,、?]"; | ||
| 306 | + Pattern p = Pattern.compile(regEx); | ||
| 307 | + Matcher m = p.matcher(input); | ||
| 308 | + return input.replaceAll(punctuationRegex, "").replaceAll(regEx, ""); | ||
| 309 | + } | ||
| 310 | + | ||
| 311 | + public static void main(String[] args) { | ||
| 312 | + System.out.println(calculateSimilarity("临加班次", "撤销班次")); | ||
| 313 | + } | ||
| 259 | public static Double calculateSimilarity(String str1, String str2) { | 314 | public static Double calculateSimilarity(String str1, String str2) { |
| 260 | String pinyinStr1 = getPinyin(str1); | 315 | String pinyinStr1 = getPinyin(str1); |
| 261 | String pinyinStr2 = getPinyin(str2); | 316 | String pinyinStr2 = getPinyin(str2); |
| @@ -285,7 +340,40 @@ public class UploadVideoServlet extends HttpServlet { | @@ -285,7 +340,40 @@ public class UploadVideoServlet extends HttpServlet { | ||
| 285 | 340 | ||
| 286 | 341 | ||
| 287 | 342 | ||
| 288 | - | ||
| 289 | - | 343 | + /* public static boolean isSimilarity(Integer[] gjc,String str,String gjz){ |
| 344 | + Set<String> ml=new HashSet<>(); | ||
| 345 | + GJC.nestedLoop(Arrays.asList(gjc),"",ml); | ||
| 346 | + for (String s : ml) { | ||
| 347 | + if(calculateSimilarity(s,str)>= 0.75){//相似度 | ||
| 348 | + if(gjz==null){//不含关键字 | ||
| 349 | + return true; | ||
| 350 | + }else { | ||
| 351 | + if(UploadVideoServlet.getPinyin(str).contains(UploadVideoServlet.getPinyin(gjz))){ | ||
| 352 | + return true; | ||
| 353 | + } | ||
| 354 | + } | ||
| 355 | + } | ||
| 356 | + } | ||
| 357 | + return false; | ||
| 358 | + }*/ | ||
| 359 | + | ||
| 360 | + public static boolean isSimilarity(ZL zl,String str,String gjz){ | ||
| 361 | + Integer[] ints=zl.getCodes(); | ||
| 362 | + Set<String> ml=new HashSet<>(); | ||
| 363 | + GJC.nestedLoop(Arrays.asList(ints),"",ml); | ||
| 364 | + for (String s : ml) { | ||
| 365 | + double d=calculateSimilarity(s,str); | ||
| 366 | + if(d>= 0.75){//相似度 | ||
| 367 | + if(gjz==null){//不含关键字 | ||
| 368 | + return true; | ||
| 369 | + }else { | ||
| 370 | + if(UploadVideoServlet.getPinyin(str).contains(UploadVideoServlet.getPinyin(gjz))){ | ||
| 371 | + return true; | ||
| 372 | + } | ||
| 373 | + } | ||
| 374 | + } | ||
| 375 | + } | ||
| 376 | + return false; | ||
| 377 | + } | ||
| 290 | 378 | ||
| 291 | } | 379 | } |
| 292 | \ No newline at end of file | 380 | \ No newline at end of file |
src/main/java/com/bsth/data/zndd/voice/ZL.java
0 → 100644
| 1 | +package com.bsth.data.zndd.voice; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import java.util.Arrays; | ||
| 5 | +import java.util.HashSet; | ||
| 6 | +import java.util.List; | ||
| 7 | +import java.util.Set; | ||
| 8 | + | ||
| 9 | +public enum ZL { | ||
| 10 | + LJBC(new Integer[]{2,4}, "临加班次"), | ||
| 11 | + LJCCBC(new Integer[]{2,4,7}, "临加出场班次"), | ||
| 12 | + TZDF(new Integer[]{3,5}, "调整待发"), | ||
| 13 | + TZSF(new Integer[]{3,6}, "调整实发"), | ||
| 14 | + QXBC(new Integer[]{1,4}, "取消班次"), | ||
| 15 | + QXSF(new Integer[]{1,6}, "取消实发"), | ||
| 16 | + KQ(new Integer[]{8}, "开启智能调度"), | ||
| 17 | + GB(new Integer[]{9}, "关闭智能调度"), | ||
| 18 | + zdzdbc(new Integer[]{10,11,12}, "添加一个xx到xx的班次"); | ||
| 19 | + | ||
| 20 | + private Integer[] codes; | ||
| 21 | + private String description; | ||
| 22 | + | ||
| 23 | + ZL(Integer[] codes, String description) { | ||
| 24 | + this.codes = codes; | ||
| 25 | + this.description = description; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public Integer[] getCodes() { | ||
| 29 | + return codes; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public void setCodes(Integer[] codes) { | ||
| 33 | + this.codes = codes; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public String getDescription() { | ||
| 37 | + return description; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + public void setDescription(String description) { | ||
| 41 | + this.description = description; | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + public static boolean match(ZL zl,String str){ | ||
| 45 | + Integer[] ints=zl.codes; | ||
| 46 | + List<Integer> list= Arrays.asList(ints); | ||
| 47 | + Set<String> ml=new HashSet<>(); | ||
| 48 | + GJC.nestedLoop(list,str,ml); | ||
| 49 | + return false; | ||
| 50 | + } | ||
| 51 | + | ||
| 52 | + | ||
| 53 | +} |
src/main/java/com/bsth/entity/zndd/StationSignsLogger.java
| @@ -28,6 +28,8 @@ public class StationSignsLogger { | @@ -28,6 +28,8 @@ public class StationSignsLogger { | ||
| 28 | 28 | ||
| 29 | private String sign; | 29 | private String sign; |
| 30 | 30 | ||
| 31 | + private String calleeId; | ||
| 32 | + | ||
| 31 | 33 | ||
| 32 | 34 | ||
| 33 | public String getLineCode() { | 35 | public String getLineCode() { |
| @@ -101,4 +103,12 @@ public class StationSignsLogger { | @@ -101,4 +103,12 @@ public class StationSignsLogger { | ||
| 101 | public void setSign(String sign) { | 103 | public void setSign(String sign) { |
| 102 | this.sign = sign; | 104 | this.sign = sign; |
| 103 | } | 105 | } |
| 106 | + | ||
| 107 | + public String getCalleeId() { | ||
| 108 | + return calleeId; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + public void setCalleeId(String calleeId) { | ||
| 112 | + this.calleeId = calleeId; | ||
| 113 | + } | ||
| 104 | } | 114 | } |
src/main/java/com/bsth/filter/BaseFilter.java
| @@ -20,7 +20,7 @@ public abstract class BaseFilter implements Filter { | @@ -20,7 +20,7 @@ public abstract class BaseFilter implements Filter { | ||
| 20 | Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, | 20 | Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.LOGIN, Constants.LOGIN_FAILURE, |
| 21 | Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.XD_REAL_GPS, Constants.UP_RFID_URL, | 21 | Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.XD_REAL_GPS, Constants.UP_RFID_URL, |
| 22 | Constants.STATION_AND_SECTION_COUNT, Constants.ACTUATOR_MANAGEMENT_HEALTH, Constants.VEHICLE_DATA_SYNC_URL, | 22 | Constants.STATION_AND_SECTION_COUNT, Constants.ACTUATOR_MANAGEMENT_HEALTH, Constants.VEHICLE_DATA_SYNC_URL, |
| 23 | - Constants.FILE_AUTH,Constants.OUT_URL}; | 23 | + Constants.FILE_AUTH,Constants.OUT_URL,Constants.NOTICE_URL}; |
| 24 | 24 | ||
| 25 | @Override | 25 | @Override |
| 26 | public void destroy() { | 26 | public void destroy() { |
src/main/java/com/bsth/security/WebSecurityConfig.java
| @@ -39,7 +39,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { | @@ -39,7 +39,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { | ||
| 39 | // 白名单 | 39 | // 白名单 |
| 40 | web.ignoring().antMatchers(Constants.LOGIN_PAGE, Constants.LOGIN, Constants.ORIGINAL_LOGIN_PAGE, Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.CAPTCHA, | 40 | web.ignoring().antMatchers(Constants.LOGIN_PAGE, Constants.LOGIN, Constants.ORIGINAL_LOGIN_PAGE, Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.CAPTCHA, |
| 41 | Constants.SERVICE_INTERFACE, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, | 41 | Constants.SERVICE_INTERFACE, Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, |
| 42 | - Constants.UP_RFID_URL, Constants.STATION_AND_SECTION_COUNT, Constants.FILE_AUTH,Constants.OUT_URL); | 42 | + Constants.UP_RFID_URL, Constants.STATION_AND_SECTION_COUNT, Constants.FILE_AUTH,Constants.OUT_URL,Constants.NOTICE_URL); |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | @Override | 45 | @Override |
src/main/java/com/bsth/security/filter/LoginInterceptor.java
| @@ -35,7 +35,7 @@ public class LoginInterceptor implements Filter { | @@ -35,7 +35,7 @@ public class LoginInterceptor implements Filter { | ||
| 35 | private String[] whiteListURLs = { Constants.LOGIN_PAGE,Constants.CAPTCHA, Constants.ORIGINAL_LOGIN_PAGE, Constants.SERVICE_INTERFACE, | 35 | private String[] whiteListURLs = { Constants.LOGIN_PAGE,Constants.CAPTCHA, Constants.ORIGINAL_LOGIN_PAGE, Constants.SERVICE_INTERFACE, |
| 36 | Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.LOGIN, | 36 | Constants.ASSETS_URL, Constants.FAVICON_URL, Constants.LOGIN, |
| 37 | Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.UP_RFID_URL, | 37 | Constants.LOGIN_FAILURE, Constants.UPSTREAM_URL, Constants.XD_CHILD_PAGES, Constants.UP_RFID_URL, |
| 38 | - Constants.STATION_AND_SECTION_COUNT, Constants.VEHICLE_DATA_SYNC_URL, Constants.FILE_AUTH ,Constants.OUT_URL}; | 38 | + Constants.STATION_AND_SECTION_COUNT, Constants.VEHICLE_DATA_SYNC_URL, Constants.FILE_AUTH ,Constants.OUT_URL,Constants.NOTICE_URL}; |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | @Override | 41 | @Override |
src/main/java/com/bsth/util/SignUtils.java
0 → 100644
| 1 | +package com.bsth.util; | ||
| 2 | + | ||
| 3 | +import com.bsth.service.schedule.utils.Md5Util; | ||
| 4 | + | ||
| 5 | +public class SignUtils { | ||
| 6 | + | ||
| 7 | + private static final String PASSWORD="e126853c7f6f43b4857fa8dfe3b28b5d90be9e68"; | ||
| 8 | + public static boolean validation(long timestamp,String sign){ | ||
| 9 | + String md5String= Md5Util.getMd5(timestamp+PASSWORD); | ||
| 10 | + if(!md5String.equals(sign)){ | ||
| 11 | + return false; | ||
| 12 | + } | ||
| 13 | + if(System.currentTimeMillis()-timestamp>60*1000){ | ||
| 14 | + return false; | ||
| 15 | + } | ||
| 16 | + return true; | ||
| 17 | + } | ||
| 18 | +} |
src/main/resources/static/pages/permission/authorize_all/user_auth.html
| @@ -88,6 +88,7 @@ | @@ -88,6 +88,7 @@ | ||
| 88 | <ul class="uk-list uk-list-large uk-list-divider"> | 88 | <ul class="uk-list uk-list-large uk-list-divider"> |
| 89 | <li><label><input class="uk-checkbox" type="checkbox" data-event="report_register"> 报备登记</label></li> | 89 | <li><label><input class="uk-checkbox" type="checkbox" data-event="report_register"> 报备登记</label></li> |
| 90 | <li><label><input class="uk-checkbox" type="checkbox" data-event="form_report_register"> 报备登记报表</label></li> | 90 | <li><label><input class="uk-checkbox" type="checkbox" data-event="form_report_register"> 报备登记报表</label></li> |
| 91 | + <li><label><input class="uk-checkbox" type="checkbox" data-event="station_notice"> 站牌公告</label></li> | ||
| 91 | </ul> | 92 | </ul> |
| 92 | </div> | 93 | </div> |
| 93 | 94 |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/Blueprint.Net.Server.csproj deleted
100644 → 0
| 1 | -<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
| 2 | - | ||
| 3 | - <PropertyGroup> | ||
| 4 | - <TargetFramework>net8.0</TargetFramework> | ||
| 5 | - <Nullable>enable</Nullable> | ||
| 6 | - <ImplicitUsings>enable</ImplicitUsings> | ||
| 7 | - </PropertyGroup> | ||
| 8 | - | ||
| 9 | - <ItemGroup> | ||
| 10 | - <PackageReference Include="FreeSql" Version="3.2.821" /> | ||
| 11 | - <PackageReference Include="FreeSql.Provider.Sqlite" Version="3.2.821" /> | ||
| 12 | - <PackageReference Include="FreeSql.Repository" Version="3.2.821" /> | ||
| 13 | - <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" /> | ||
| 14 | - </ItemGroup> | ||
| 15 | - | ||
| 16 | -</Project> |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/Blueprint.Net.Server.sln deleted
100644 → 0
| 1 | - | ||
| 2 | -Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| 3 | -# Visual Studio Version 17 | ||
| 4 | -VisualStudioVersion = 17.9.34622.214 | ||
| 5 | -MinimumVisualStudioVersion = 10.0.40219.1 | ||
| 6 | -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Blueprint.Net.Server", "Blueprint.Net.Server.csproj", "{650D80E6-03AB-40D8-A1DD-C9A42DF92249}" | ||
| 7 | -EndProject | ||
| 8 | -Global | ||
| 9 | - GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| 10 | - Debug|Any CPU = Debug|Any CPU | ||
| 11 | - Release|Any CPU = Release|Any CPU | ||
| 12 | - EndGlobalSection | ||
| 13 | - GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| 14 | - {650D80E6-03AB-40D8-A1DD-C9A42DF92249}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| 15 | - {650D80E6-03AB-40D8-A1DD-C9A42DF92249}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| 16 | - {650D80E6-03AB-40D8-A1DD-C9A42DF92249}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| 17 | - {650D80E6-03AB-40D8-A1DD-C9A42DF92249}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| 18 | - EndGlobalSection | ||
| 19 | - GlobalSection(SolutionProperties) = preSolution | ||
| 20 | - HideSolutionNode = FALSE | ||
| 21 | - EndGlobalSection | ||
| 22 | - GlobalSection(ExtensibilityGlobals) = postSolution | ||
| 23 | - SolutionGuid = {6CE115DF-4AF8-4EB9-8A99-04F0BED024AC} | ||
| 24 | - EndGlobalSection | ||
| 25 | -EndGlobal |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/Controllers/BlueprintController.cs deleted
100644 → 0
| 1 | -using Microsoft.AspNetCore.Mvc; | ||
| 2 | -using System.Collections.Frozen; | ||
| 3 | -using System.Linq; | ||
| 4 | -using System.Xml.Linq; | ||
| 5 | -using static FreeSql.Internal.GlobalFilter; | ||
| 6 | - | ||
| 7 | -namespace Blueprint.Net.Server.Controllers | ||
| 8 | -{ | ||
| 9 | - [ApiController] | ||
| 10 | - [Route("[controller]")] | ||
| 11 | - public class BlueprintController(ILogger<BlueprintController> logger, IFreeSql fsql) : ControllerBase | ||
| 12 | - { | ||
| 13 | - private readonly ILogger<BlueprintController> _logger = logger; | ||
| 14 | - private readonly IFreeSql _fsql = fsql; | ||
| 15 | - | ||
| 16 | - [HttpGet("GetProjects")] | ||
| 17 | - public async Task<ActionResult<IEnumerable<Project>>> GetProjects() | ||
| 18 | - { | ||
| 19 | - var projects = await _fsql.Select<Project>() | ||
| 20 | - .IncludeMany(p => p.Workspaces, a => a.IncludeMany(b => b.Links)) | ||
| 21 | - .IncludeMany(p => p.Workspaces, a => a.IncludeMany(b => b.Cards)) | ||
| 22 | - .IncludeMany(p => p.Workspaces, a => a.IncludeMany(b => b.Cards, c => c.IncludeMany(d => d.Nodes))) | ||
| 23 | - .ToListAsync(); | ||
| 24 | - | ||
| 25 | - List<long> linkIds = []; | ||
| 26 | - List<long> workspaceIds = []; | ||
| 27 | - | ||
| 28 | - foreach (var project in projects) | ||
| 29 | - { | ||
| 30 | - foreach (var workspace in project.Workspaces) | ||
| 31 | - { | ||
| 32 | - workspaceIds.Add(workspace.Id); | ||
| 33 | - | ||
| 34 | - } | ||
| 35 | - } | ||
| 36 | - | ||
| 37 | - var links = await _fsql.Select<Link>().Where(p => workspaceIds.Contains(p.WorkspaceId)).ToListAsync(); | ||
| 38 | - | ||
| 39 | - foreach (var link in links) | ||
| 40 | - { | ||
| 41 | - linkIds.Add(link.SourceId); | ||
| 42 | - linkIds.Add(link.TargetId); | ||
| 43 | - } | ||
| 44 | - | ||
| 45 | - var nodeConnectInfos = await _fsql.Select<NodeConnectInfo>().Where(p => linkIds.Contains(p.Id)).ToListAsync(); | ||
| 46 | - | ||
| 47 | - foreach (var project in projects) | ||
| 48 | - { | ||
| 49 | - foreach (var workspace in project.Workspaces) | ||
| 50 | - { | ||
| 51 | - | ||
| 52 | - foreach (var link in links.Where(p => p.WorkspaceId == workspace.Id)) | ||
| 53 | - { | ||
| 54 | - link.Source = nodeConnectInfos.FirstOrDefault(p => p.Id == link.SourceId) ?? new(); | ||
| 55 | - link.Target = nodeConnectInfos.FirstOrDefault(p => p.Id == link.TargetId) ?? new(); | ||
| 56 | - | ||
| 57 | - workspace.Links.Add(link); | ||
| 58 | - } | ||
| 59 | - } | ||
| 60 | - } | ||
| 61 | - | ||
| 62 | - | ||
| 63 | - return Ok(projects); | ||
| 64 | - } | ||
| 65 | - | ||
| 66 | - [HttpPost("Project")] | ||
| 67 | - public async Task<ActionResult<Project>> Project([FromBody] Project project) | ||
| 68 | - { | ||
| 69 | - | ||
| 70 | - var projectRepo = _fsql.GetRepository<Project>(); | ||
| 71 | - | ||
| 72 | - projectRepo.DbContextOptions.EnableCascadeSave = true; | ||
| 73 | - | ||
| 74 | - project = await projectRepo.InsertOrUpdateAsync(project); | ||
| 75 | - projectRepo.Attach(project); | ||
| 76 | - | ||
| 77 | - foreach (var workspaces in project.Workspaces) | ||
| 78 | - { | ||
| 79 | - foreach (var node in workspaces.Links) | ||
| 80 | - { | ||
| 81 | - | ||
| 82 | - if (node.SourceId == 0) | ||
| 83 | - { | ||
| 84 | - node.SourceId = await _fsql.Insert(node.Source).ExecuteIdentityAsync(); | ||
| 85 | - node.Source.Id = node.SourceId; | ||
| 86 | - } | ||
| 87 | - else | ||
| 88 | - { | ||
| 89 | - await _fsql.Update<NodeConnectInfo>().SetSource(node.Source).Where(p => p.Id == node.SourceId).ExecuteAffrowsAsync(); | ||
| 90 | - } | ||
| 91 | - | ||
| 92 | - if (node.TargetId == 0) | ||
| 93 | - { | ||
| 94 | - node.TargetId = await _fsql.Insert(node.Target).ExecuteIdentityAsync(); | ||
| 95 | - node.Target.Id = node.TargetId; | ||
| 96 | - } | ||
| 97 | - else | ||
| 98 | - { | ||
| 99 | - await _fsql.Update<NodeConnectInfo>().SetSource(node.Target).Where(p => p.Id == node.TargetId).ExecuteAffrowsAsync(); | ||
| 100 | - } | ||
| 101 | - } | ||
| 102 | - } | ||
| 103 | - await projectRepo.UpdateAsync(project); | ||
| 104 | - | ||
| 105 | - return Ok(project); | ||
| 106 | - | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - | ||
| 110 | - [HttpDelete("DeleteProject/{id}")] | ||
| 111 | - public async Task<IActionResult> DeleteProject(long id) | ||
| 112 | - { | ||
| 113 | - | ||
| 114 | - var repo = _fsql.GetRepository<Project>(); | ||
| 115 | - | ||
| 116 | - repo.DbContextOptions.EnableCascadeSave = true; | ||
| 117 | - | ||
| 118 | - var project = await repo.Select | ||
| 119 | - .IncludeMany(p => p.Workspaces, a => a.IncludeMany(b => b.Cards, c => c.IncludeMany(d => d.Nodes))) | ||
| 120 | - .IncludeMany(p => p.Workspaces, a => a.IncludeMany(b => b.Links)) | ||
| 121 | - .Where(p => p.Id == id) | ||
| 122 | - .FirstAsync(); | ||
| 123 | - | ||
| 124 | - var deleteIds = new List<long>(); | ||
| 125 | - | ||
| 126 | - foreach (var workspace in project.Workspaces) | ||
| 127 | - { | ||
| 128 | - foreach (var node in workspace.Links) | ||
| 129 | - { | ||
| 130 | - deleteIds.Add(node.SourceId); | ||
| 131 | - deleteIds.Add(node.TargetId); | ||
| 132 | - } | ||
| 133 | - } | ||
| 134 | - await _fsql.Delete<NodeConnectInfo>().Where(p => deleteIds.Contains(p.Id)).ExecuteAffrowsAsync(); | ||
| 135 | - | ||
| 136 | - var ret = await repo.DeleteAsync(project); | ||
| 137 | - if (ret > 0) | ||
| 138 | - return Ok(); | ||
| 139 | - return NotFound(); | ||
| 140 | - } | ||
| 141 | - [HttpDelete("DeleteWorkspace/{id}")] | ||
| 142 | - public async Task<IActionResult> DeleteWorkspace(long id) | ||
| 143 | - { | ||
| 144 | - var repo = _fsql.GetRepository<Workspace>(); | ||
| 145 | - | ||
| 146 | - repo.DbContextOptions.EnableCascadeSave = true; | ||
| 147 | - | ||
| 148 | - var workspace = await repo.Select | ||
| 149 | - .IncludeMany(p => p.Cards, a => a.IncludeMany(b => b.Nodes)) | ||
| 150 | - .IncludeMany(p => p.Links) | ||
| 151 | - .Where(p => p.Id == id) | ||
| 152 | - .FirstAsync(); | ||
| 153 | - | ||
| 154 | - | ||
| 155 | - var deleteIds = new List<long>(); | ||
| 156 | - | ||
| 157 | - foreach (var node in workspace.Links) | ||
| 158 | - { | ||
| 159 | - deleteIds.Add(node.SourceId); | ||
| 160 | - deleteIds.Add(node.TargetId); | ||
| 161 | - } | ||
| 162 | - await _fsql.Delete<NodeConnectInfo>().Where(p => deleteIds.Contains(p.Id)).ExecuteAffrowsAsync(); | ||
| 163 | - | ||
| 164 | - var ret = await repo.DeleteAsync(workspace); | ||
| 165 | - if (ret > 0) | ||
| 166 | - return Ok(); | ||
| 167 | - return NotFound(); | ||
| 168 | - } | ||
| 169 | - | ||
| 170 | - [HttpDelete("DeleteLink/{id}")] | ||
| 171 | - public async Task<IActionResult> DeleteLink(long id) | ||
| 172 | - { | ||
| 173 | - var repo = _fsql.GetRepository<Link>(); | ||
| 174 | - | ||
| 175 | - repo.DbContextOptions.EnableCascadeSave = true; | ||
| 176 | - | ||
| 177 | - var link = await repo.Select.Where(p => p.Id == id).FirstAsync(); | ||
| 178 | - | ||
| 179 | - | ||
| 180 | - var deleteIds = new List<long> | ||
| 181 | - { | ||
| 182 | - link.SourceId, | ||
| 183 | - link.TargetId | ||
| 184 | - }; | ||
| 185 | - | ||
| 186 | - await _fsql.Delete<NodeConnectInfo>().Where(p => deleteIds.Contains(p.Id)).ExecuteAffrowsAsync(); | ||
| 187 | - | ||
| 188 | - var ret = await repo.DeleteAsync(link); | ||
| 189 | - if (ret > 0) | ||
| 190 | - return Ok(); | ||
| 191 | - return NotFound(); | ||
| 192 | - } | ||
| 193 | - | ||
| 194 | - [HttpDelete("DeleteCard/{id}")] | ||
| 195 | - public async Task<IActionResult> DeleteCard(long id) | ||
| 196 | - { | ||
| 197 | - var repo = _fsql.GetRepository<Card>(); | ||
| 198 | - | ||
| 199 | - repo.DbContextOptions.EnableCascadeSave = true; | ||
| 200 | - | ||
| 201 | - var card = await repo.Select.IncludeMany(p => p.Nodes).Where(p => p.Id == id).FirstAsync(); | ||
| 202 | - | ||
| 203 | - var ret = await repo.DeleteAsync(card); | ||
| 204 | - if (ret > 0) | ||
| 205 | - return Ok(); | ||
| 206 | - return NotFound(); | ||
| 207 | - } | ||
| 208 | - | ||
| 209 | - } | ||
| 210 | -} |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/Models.cs deleted
100644 → 0
| 1 | -using FreeSql.DataAnnotations; | ||
| 2 | -using System.ComponentModel.DataAnnotations; | ||
| 3 | -using System.Text.RegularExpressions; | ||
| 4 | - | ||
| 5 | -namespace Blueprint.Net.Server | ||
| 6 | -{ | ||
| 7 | - public class Card | ||
| 8 | - { | ||
| 9 | - [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } | ||
| 10 | - public long WorkspaceId { get; set; } | ||
| 11 | - public int X { get; set; } | ||
| 12 | - public int Y { get; set; } | ||
| 13 | - public string Label { get; set; } | ||
| 14 | - public string Type { get; set; } | ||
| 15 | - [Navigate(nameof(CardNodeInfo.CardId))] public List<CardNodeInfo> Nodes { get; set; } = []; | ||
| 16 | - public List<string> TitleBarColor { get; set; } = []; | ||
| 17 | - } | ||
| 18 | - | ||
| 19 | - public class Link | ||
| 20 | - { | ||
| 21 | - [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } | ||
| 22 | - public long WorkspaceId { get; set; } | ||
| 23 | - | ||
| 24 | - [Navigate(nameof(SourceId))] public NodeConnectInfo Source { get; set; } | ||
| 25 | - | ||
| 26 | - [Navigate(nameof(TargetId))] public NodeConnectInfo Target { get; set; } | ||
| 27 | - | ||
| 28 | - public long SourceId { get; set; } | ||
| 29 | - public long TargetId { get; set; } | ||
| 30 | - | ||
| 31 | - } | ||
| 32 | - | ||
| 33 | - public class NodeConnectInfo | ||
| 34 | - { | ||
| 35 | - [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } | ||
| 36 | - public string Node { get; set; } | ||
| 37 | - public int X { get; set; } | ||
| 38 | - public int Y { get; set; } | ||
| 39 | - public string Color { get; set; } | ||
| 40 | - public string EnumType { get; set; } | ||
| 41 | - } | ||
| 42 | - | ||
| 43 | - public class CardNodeInfo | ||
| 44 | - { | ||
| 45 | - [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } | ||
| 46 | - | ||
| 47 | - public long CardId { get; set; } | ||
| 48 | - public string Type { get; set; } | ||
| 49 | - public int Level { get; set; } | ||
| 50 | - public string EnumType { get; set; } | ||
| 51 | - public string Color { get; set; } | ||
| 52 | - public int? MultiConnected { get; set; } | ||
| 53 | - public string Slot { get; set; } | ||
| 54 | - public string Label { get; set; } | ||
| 55 | - public string Value { get; set; } | ||
| 56 | - } | ||
| 57 | - | ||
| 58 | - | ||
| 59 | - | ||
| 60 | - | ||
| 61 | - | ||
| 62 | - public class Project | ||
| 63 | - { | ||
| 64 | - [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } | ||
| 65 | - public string Name { get; set; } | ||
| 66 | - [Navigate(nameof(Workspace.ProjectId))] public List<Workspace> Workspaces { get; set; } = []; | ||
| 67 | - } | ||
| 68 | - | ||
| 69 | - public class Workspace | ||
| 70 | - { | ||
| 71 | - [Column(IsIdentity = true, IsPrimary = true)] public long Id { get; set; } | ||
| 72 | - public long ProjectId { get; set; } | ||
| 73 | - public string Name { get; set; } | ||
| 74 | - [Navigate(nameof(Card.WorkspaceId))] public List<Card> Cards { get; set; } = []; | ||
| 75 | - [Navigate(nameof(Card.WorkspaceId))] public List<Link> Links { get; set; } = []; | ||
| 76 | - } | ||
| 77 | - | ||
| 78 | -} |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/Program.cs deleted
100644 → 0
| 1 | - | ||
| 2 | -namespace Blueprint.Net.Server | ||
| 3 | -{ | ||
| 4 | - public class Program | ||
| 5 | - { | ||
| 6 | - public static void Main(string[] args) | ||
| 7 | - { | ||
| 8 | - var builder = WebApplication.CreateBuilder(args); | ||
| 9 | - | ||
| 10 | - // Add services to the container. | ||
| 11 | - | ||
| 12 | - builder.Services.AddControllers(); | ||
| 13 | - // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle | ||
| 14 | - builder.Services.AddEndpointsApiExplorer(); | ||
| 15 | - builder.Services.AddSwaggerGen(); | ||
| 16 | - | ||
| 17 | - builder.Services.AddSingleton(new FreeSql.FreeSqlBuilder() | ||
| 18 | - .UseConnectionString(FreeSql.DataType.Sqlite, @"Data Source=blueprint.db") | ||
| 19 | - .UseMonitorCommand(cmd => Console.WriteLine($"Sql:{cmd.CommandText}"))//监听SQL语句 | ||
| 20 | - .UseAutoSyncStructure(true) //自动同步实体结构到数据库,FreeSql不会扫描程序集,只有CRUD时才会生成表。 | ||
| 21 | - .Build()); | ||
| 22 | - | ||
| 23 | - var app = builder.Build(); | ||
| 24 | - | ||
| 25 | - // Configure the HTTP request pipeline. | ||
| 26 | - if (app.Environment.IsDevelopment()) | ||
| 27 | - { | ||
| 28 | - app.UseSwagger(); | ||
| 29 | - app.UseSwaggerUI(); | ||
| 30 | - } | ||
| 31 | - | ||
| 32 | - app.UseAuthorization(); | ||
| 33 | - | ||
| 34 | - app.UseStaticFiles(); | ||
| 35 | - | ||
| 36 | - app.MapControllers(); | ||
| 37 | - | ||
| 38 | - app.Run(); | ||
| 39 | - } | ||
| 40 | - } | ||
| 41 | -} |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/Properties/launchSettings.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "$schema": "http://json.schemastore.org/launchsettings.json", | ||
| 3 | - "iisSettings": { | ||
| 4 | - "windowsAuthentication": false, | ||
| 5 | - "anonymousAuthentication": true, | ||
| 6 | - "iisExpress": { | ||
| 7 | - "applicationUrl": "http://localhost:19130", | ||
| 8 | - "sslPort": 0 | ||
| 9 | - } | ||
| 10 | - }, | ||
| 11 | - "profiles": { | ||
| 12 | - "http": { | ||
| 13 | - "commandName": "Project", | ||
| 14 | - "dotnetRunMessages": true, | ||
| 15 | - "launchBrowser": true, | ||
| 16 | - "launchUrl": "swagger", | ||
| 17 | - "applicationUrl": "http://localhost:5277", | ||
| 18 | - "environmentVariables": { | ||
| 19 | - "ASPNETCORE_ENVIRONMENT": "Development" | ||
| 20 | - } | ||
| 21 | - }, | ||
| 22 | - "IIS Express": { | ||
| 23 | - "commandName": "IISExpress", | ||
| 24 | - "launchBrowser": true, | ||
| 25 | - "launchUrl": "swagger", | ||
| 26 | - "environmentVariables": { | ||
| 27 | - "ASPNETCORE_ENVIRONMENT": "Development" | ||
| 28 | - } | ||
| 29 | - } | ||
| 30 | - } | ||
| 31 | -} |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/appsettings.Development.json deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/appsettings.json deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Blueprint.Net.Server.deps.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "runtimeTarget": { | ||
| 3 | - "name": ".NETCoreApp,Version=v8.0", | ||
| 4 | - "signature": "" | ||
| 5 | - }, | ||
| 6 | - "compilationOptions": {}, | ||
| 7 | - "targets": { | ||
| 8 | - ".NETCoreApp,Version=v8.0": { | ||
| 9 | - "Blueprint.Net.Server/1.0.0": { | ||
| 10 | - "dependencies": { | ||
| 11 | - "FreeSql": "3.2.821", | ||
| 12 | - "FreeSql.Provider.Sqlite": "3.2.821", | ||
| 13 | - "FreeSql.Repository": "3.2.821", | ||
| 14 | - "Swashbuckle.AspNetCore": "6.4.0" | ||
| 15 | - }, | ||
| 16 | - "runtime": { | ||
| 17 | - "Blueprint.Net.Server.dll": {} | ||
| 18 | - } | ||
| 19 | - }, | ||
| 20 | - "FreeSql/3.2.821": { | ||
| 21 | - "runtime": { | ||
| 22 | - "lib/netstandard2.1/FreeSql.dll": { | ||
| 23 | - "assemblyVersion": "3.2.821.0", | ||
| 24 | - "fileVersion": "3.2.821.0" | ||
| 25 | - } | ||
| 26 | - }, | ||
| 27 | - "resources": { | ||
| 28 | - "lib/netstandard2.1/zh-Hans/FreeSql.resources.dll": { | ||
| 29 | - "locale": "zh-Hans" | ||
| 30 | - } | ||
| 31 | - } | ||
| 32 | - }, | ||
| 33 | - "FreeSql.DbContext/3.2.821": { | ||
| 34 | - "dependencies": { | ||
| 35 | - "FreeSql": "3.2.821", | ||
| 36 | - "Microsoft.Extensions.DependencyInjection": "8.0.0" | ||
| 37 | - }, | ||
| 38 | - "runtime": { | ||
| 39 | - "lib/net8.0/FreeSql.DbContext.dll": { | ||
| 40 | - "assemblyVersion": "3.2.821.0", | ||
| 41 | - "fileVersion": "3.2.821.0" | ||
| 42 | - } | ||
| 43 | - }, | ||
| 44 | - "resources": { | ||
| 45 | - "lib/net8.0/zh-Hans/FreeSql.DbContext.resources.dll": { | ||
| 46 | - "locale": "zh-Hans" | ||
| 47 | - } | ||
| 48 | - } | ||
| 49 | - }, | ||
| 50 | - "FreeSql.Provider.Sqlite/3.2.821": { | ||
| 51 | - "dependencies": { | ||
| 52 | - "FreeSql": "3.2.821", | ||
| 53 | - "System.Data.SQLite.Core": "1.0.115.5" | ||
| 54 | - }, | ||
| 55 | - "runtime": { | ||
| 56 | - "lib/netstandard2.0/FreeSql.Provider.Sqlite.dll": { | ||
| 57 | - "assemblyVersion": "3.2.821.0", | ||
| 58 | - "fileVersion": "3.2.821.0" | ||
| 59 | - } | ||
| 60 | - } | ||
| 61 | - }, | ||
| 62 | - "FreeSql.Repository/3.2.821": { | ||
| 63 | - "dependencies": { | ||
| 64 | - "FreeSql.DbContext": "3.2.821" | ||
| 65 | - }, | ||
| 66 | - "runtime": { | ||
| 67 | - "lib/net8.0/FreeSql.Repository.dll": { | ||
| 68 | - "assemblyVersion": "3.2.821.0", | ||
| 69 | - "fileVersion": "3.2.821.0" | ||
| 70 | - } | ||
| 71 | - } | ||
| 72 | - }, | ||
| 73 | - "Microsoft.Extensions.ApiDescription.Server/6.0.5": {}, | ||
| 74 | - "Microsoft.Extensions.DependencyInjection/8.0.0": { | ||
| 75 | - "dependencies": { | ||
| 76 | - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0" | ||
| 77 | - } | ||
| 78 | - }, | ||
| 79 | - "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {}, | ||
| 80 | - "Microsoft.OpenApi/1.2.3": { | ||
| 81 | - "runtime": { | ||
| 82 | - "lib/netstandard2.0/Microsoft.OpenApi.dll": { | ||
| 83 | - "assemblyVersion": "1.2.3.0", | ||
| 84 | - "fileVersion": "1.2.3.0" | ||
| 85 | - } | ||
| 86 | - } | ||
| 87 | - }, | ||
| 88 | - "Stub.System.Data.SQLite.Core.NetStandard/1.0.115.5": { | ||
| 89 | - "runtime": { | ||
| 90 | - "lib/netstandard2.1/System.Data.SQLite.dll": { | ||
| 91 | - "assemblyVersion": "1.0.115.5", | ||
| 92 | - "fileVersion": "1.0.115.5" | ||
| 93 | - } | ||
| 94 | - }, | ||
| 95 | - "runtimeTargets": { | ||
| 96 | - "runtimes/linux-x64/native/SQLite.Interop.dll": { | ||
| 97 | - "rid": "linux-x64", | ||
| 98 | - "assetType": "native", | ||
| 99 | - "fileVersion": "0.0.0.0" | ||
| 100 | - }, | ||
| 101 | - "runtimes/osx-x64/native/SQLite.Interop.dll": { | ||
| 102 | - "rid": "osx-x64", | ||
| 103 | - "assetType": "native", | ||
| 104 | - "fileVersion": "0.0.0.0" | ||
| 105 | - }, | ||
| 106 | - "runtimes/win-x64/native/SQLite.Interop.dll": { | ||
| 107 | - "rid": "win-x64", | ||
| 108 | - "assetType": "native", | ||
| 109 | - "fileVersion": "1.0.115.5" | ||
| 110 | - }, | ||
| 111 | - "runtimes/win-x86/native/SQLite.Interop.dll": { | ||
| 112 | - "rid": "win-x86", | ||
| 113 | - "assetType": "native", | ||
| 114 | - "fileVersion": "1.0.115.5" | ||
| 115 | - } | ||
| 116 | - } | ||
| 117 | - }, | ||
| 118 | - "Swashbuckle.AspNetCore/6.4.0": { | ||
| 119 | - "dependencies": { | ||
| 120 | - "Microsoft.Extensions.ApiDescription.Server": "6.0.5", | ||
| 121 | - "Swashbuckle.AspNetCore.Swagger": "6.4.0", | ||
| 122 | - "Swashbuckle.AspNetCore.SwaggerGen": "6.4.0", | ||
| 123 | - "Swashbuckle.AspNetCore.SwaggerUI": "6.4.0" | ||
| 124 | - } | ||
| 125 | - }, | ||
| 126 | - "Swashbuckle.AspNetCore.Swagger/6.4.0": { | ||
| 127 | - "dependencies": { | ||
| 128 | - "Microsoft.OpenApi": "1.2.3" | ||
| 129 | - }, | ||
| 130 | - "runtime": { | ||
| 131 | - "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { | ||
| 132 | - "assemblyVersion": "6.4.0.0", | ||
| 133 | - "fileVersion": "6.4.0.0" | ||
| 134 | - } | ||
| 135 | - } | ||
| 136 | - }, | ||
| 137 | - "Swashbuckle.AspNetCore.SwaggerGen/6.4.0": { | ||
| 138 | - "dependencies": { | ||
| 139 | - "Swashbuckle.AspNetCore.Swagger": "6.4.0" | ||
| 140 | - }, | ||
| 141 | - "runtime": { | ||
| 142 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { | ||
| 143 | - "assemblyVersion": "6.4.0.0", | ||
| 144 | - "fileVersion": "6.4.0.0" | ||
| 145 | - } | ||
| 146 | - } | ||
| 147 | - }, | ||
| 148 | - "Swashbuckle.AspNetCore.SwaggerUI/6.4.0": { | ||
| 149 | - "runtime": { | ||
| 150 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { | ||
| 151 | - "assemblyVersion": "6.4.0.0", | ||
| 152 | - "fileVersion": "6.4.0.0" | ||
| 153 | - } | ||
| 154 | - } | ||
| 155 | - }, | ||
| 156 | - "System.Data.SQLite.Core/1.0.115.5": { | ||
| 157 | - "dependencies": { | ||
| 158 | - "Stub.System.Data.SQLite.Core.NetStandard": "1.0.115.5" | ||
| 159 | - } | ||
| 160 | - } | ||
| 161 | - } | ||
| 162 | - }, | ||
| 163 | - "libraries": { | ||
| 164 | - "Blueprint.Net.Server/1.0.0": { | ||
| 165 | - "type": "project", | ||
| 166 | - "serviceable": false, | ||
| 167 | - "sha512": "" | ||
| 168 | - }, | ||
| 169 | - "FreeSql/3.2.821": { | ||
| 170 | - "type": "package", | ||
| 171 | - "serviceable": true, | ||
| 172 | - "sha512": "sha512-bI/CTioEq4B9k5pqaZnXBSyJCIbHoUUTJGgQJF5osgq7/9kOxZo93hmZr8Vw6n5iFG5chx6wkcn4dnJJUsAEkA==", | ||
| 173 | - "path": "freesql/3.2.821", | ||
| 174 | - "hashPath": "freesql.3.2.821.nupkg.sha512" | ||
| 175 | - }, | ||
| 176 | - "FreeSql.DbContext/3.2.821": { | ||
| 177 | - "type": "package", | ||
| 178 | - "serviceable": true, | ||
| 179 | - "sha512": "sha512-wQWjKj7/2Iwzp5WxOE5WV/HmoVmj6fKPYGBxKB7JWxF7HudmXjeZS1Hll2ovQksqF/YujYf7SxGbDv5mU9qSGA==", | ||
| 180 | - "path": "freesql.dbcontext/3.2.821", | ||
| 181 | - "hashPath": "freesql.dbcontext.3.2.821.nupkg.sha512" | ||
| 182 | - }, | ||
| 183 | - "FreeSql.Provider.Sqlite/3.2.821": { | ||
| 184 | - "type": "package", | ||
| 185 | - "serviceable": true, | ||
| 186 | - "sha512": "sha512-vBvvq9mDz488XWYeNQSSt8t3FCKquS4DPab7hu7QVRF0ftXRAc6rRK5axFFJZjc5ABU7aIKtu1UiKQky8z/VnA==", | ||
| 187 | - "path": "freesql.provider.sqlite/3.2.821", | ||
| 188 | - "hashPath": "freesql.provider.sqlite.3.2.821.nupkg.sha512" | ||
| 189 | - }, | ||
| 190 | - "FreeSql.Repository/3.2.821": { | ||
| 191 | - "type": "package", | ||
| 192 | - "serviceable": true, | ||
| 193 | - "sha512": "sha512-cE/VG103FYXn2m63Xp7heYptPazNN+z+dUm9jZe2vNwV8LUCU3PbY04MD+liyQBCZ5WGCK70Pe4GXGfQzvRMLw==", | ||
| 194 | - "path": "freesql.repository/3.2.821", | ||
| 195 | - "hashPath": "freesql.repository.3.2.821.nupkg.sha512" | ||
| 196 | - }, | ||
| 197 | - "Microsoft.Extensions.ApiDescription.Server/6.0.5": { | ||
| 198 | - "type": "package", | ||
| 199 | - "serviceable": true, | ||
| 200 | - "sha512": "sha512-Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==", | ||
| 201 | - "path": "microsoft.extensions.apidescription.server/6.0.5", | ||
| 202 | - "hashPath": "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512" | ||
| 203 | - }, | ||
| 204 | - "Microsoft.Extensions.DependencyInjection/8.0.0": { | ||
| 205 | - "type": "package", | ||
| 206 | - "serviceable": true, | ||
| 207 | - "sha512": "sha512-V8S3bsm50ig6JSyrbcJJ8bW2b9QLGouz+G1miK3UTaOWmMtFwNNNzUf4AleyDWUmTrWMLNnFSLEQtxmxgNQnNQ==", | ||
| 208 | - "path": "microsoft.extensions.dependencyinjection/8.0.0", | ||
| 209 | - "hashPath": "microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512" | ||
| 210 | - }, | ||
| 211 | - "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { | ||
| 212 | - "type": "package", | ||
| 213 | - "serviceable": true, | ||
| 214 | - "sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==", | ||
| 215 | - "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0", | ||
| 216 | - "hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512" | ||
| 217 | - }, | ||
| 218 | - "Microsoft.OpenApi/1.2.3": { | ||
| 219 | - "type": "package", | ||
| 220 | - "serviceable": true, | ||
| 221 | - "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", | ||
| 222 | - "path": "microsoft.openapi/1.2.3", | ||
| 223 | - "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" | ||
| 224 | - }, | ||
| 225 | - "Stub.System.Data.SQLite.Core.NetStandard/1.0.115.5": { | ||
| 226 | - "type": "package", | ||
| 227 | - "serviceable": true, | ||
| 228 | - "sha512": "sha512-WfrqQg6WL+r4H1sVKTenNj6ERLXUukUxqcjH1rqPqXadeIWccTVpydESieD7cZ/NWQVSKLYIHuoBX5du+BFhIQ==", | ||
| 229 | - "path": "stub.system.data.sqlite.core.netstandard/1.0.115.5", | ||
| 230 | - "hashPath": "stub.system.data.sqlite.core.netstandard.1.0.115.5.nupkg.sha512" | ||
| 231 | - }, | ||
| 232 | - "Swashbuckle.AspNetCore/6.4.0": { | ||
| 233 | - "type": "package", | ||
| 234 | - "serviceable": true, | ||
| 235 | - "sha512": "sha512-eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==", | ||
| 236 | - "path": "swashbuckle.aspnetcore/6.4.0", | ||
| 237 | - "hashPath": "swashbuckle.aspnetcore.6.4.0.nupkg.sha512" | ||
| 238 | - }, | ||
| 239 | - "Swashbuckle.AspNetCore.Swagger/6.4.0": { | ||
| 240 | - "type": "package", | ||
| 241 | - "serviceable": true, | ||
| 242 | - "sha512": "sha512-nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==", | ||
| 243 | - "path": "swashbuckle.aspnetcore.swagger/6.4.0", | ||
| 244 | - "hashPath": "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512" | ||
| 245 | - }, | ||
| 246 | - "Swashbuckle.AspNetCore.SwaggerGen/6.4.0": { | ||
| 247 | - "type": "package", | ||
| 248 | - "serviceable": true, | ||
| 249 | - "sha512": "sha512-lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==", | ||
| 250 | - "path": "swashbuckle.aspnetcore.swaggergen/6.4.0", | ||
| 251 | - "hashPath": "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512" | ||
| 252 | - }, | ||
| 253 | - "Swashbuckle.AspNetCore.SwaggerUI/6.4.0": { | ||
| 254 | - "type": "package", | ||
| 255 | - "serviceable": true, | ||
| 256 | - "sha512": "sha512-1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==", | ||
| 257 | - "path": "swashbuckle.aspnetcore.swaggerui/6.4.0", | ||
| 258 | - "hashPath": "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512" | ||
| 259 | - }, | ||
| 260 | - "System.Data.SQLite.Core/1.0.115.5": { | ||
| 261 | - "type": "package", | ||
| 262 | - "serviceable": true, | ||
| 263 | - "sha512": "sha512-vADIqqgpxaC5xR6qOV8/KMZkQeSDCfmmWpVOtQx0oEr3Yjq2XdTxX7+jfE4+oO2xPovAbYiz6Q5cLRbSsDkq6Q==", | ||
| 264 | - "path": "system.data.sqlite.core/1.0.115.5", | ||
| 265 | - "hashPath": "system.data.sqlite.core.1.0.115.5.nupkg.sha512" | ||
| 266 | - } | ||
| 267 | - } | ||
| 268 | -} | ||
| 269 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Blueprint.Net.Server.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Blueprint.Net.Server.exe deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Blueprint.Net.Server.pdb deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Blueprint.Net.Server.runtimeconfig.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "runtimeOptions": { | ||
| 3 | - "tfm": "net8.0", | ||
| 4 | - "frameworks": [ | ||
| 5 | - { | ||
| 6 | - "name": "Microsoft.NETCore.App", | ||
| 7 | - "version": "8.0.0" | ||
| 8 | - }, | ||
| 9 | - { | ||
| 10 | - "name": "Microsoft.AspNetCore.App", | ||
| 11 | - "version": "8.0.0" | ||
| 12 | - } | ||
| 13 | - ], | ||
| 14 | - "configProperties": { | ||
| 15 | - "System.GC.Server": true, | ||
| 16 | - "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false | ||
| 17 | - } | ||
| 18 | - } | ||
| 19 | -} | ||
| 20 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Blueprint.Net.Server.staticwebassets.runtime.json deleted
100644 → 0
| 1 | -{"ContentRoots":["E:\\Code\\Blueprint\\Blueprint.Net.Server\\wwwroot\\"],"Root":{"Children":{"index.html":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"index.html"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} | ||
| 2 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/FreeSql.DbContext.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/FreeSql.Provider.Sqlite.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/FreeSql.Repository.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/FreeSql.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Microsoft.OpenApi.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Swashbuckle.AspNetCore.Swagger.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerGen.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/Swashbuckle.AspNetCore.SwaggerUI.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/System.Data.SQLite.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/appsettings.Development.json deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/appsettings.json deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/runtimes/linux-x64/native/SQLite.Interop.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/runtimes/osx-x64/native/SQLite.Interop.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/runtimes/win-x64/native/SQLite.Interop.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/runtimes/win-x86/native/SQLite.Interop.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/zh-Hans/FreeSql.DbContext.resources.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/bin/Debug/net8.0/zh-Hans/FreeSql.resources.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/blueprint.db deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Blueprint.Net.Server.csproj.nuget.dgspec.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "format": 1, | ||
| 3 | - "restore": { | ||
| 4 | - "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj": {} | ||
| 5 | - }, | ||
| 6 | - "projects": { | ||
| 7 | - "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj": { | ||
| 8 | - "version": "1.0.0", | ||
| 9 | - "restore": { | ||
| 10 | - "projectUniqueName": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj", | ||
| 11 | - "projectName": "Blueprint.Net.Server", | ||
| 12 | - "projectPath": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj", | ||
| 13 | - "packagesPath": "C:\\Users\\anan\\.nuget\\packages\\", | ||
| 14 | - "outputPath": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\obj\\", | ||
| 15 | - "projectStyle": "PackageReference", | ||
| 16 | - "fallbackFolders": [ | ||
| 17 | - "C:\\Users\\anan\\AppData\\Roaming\\Godot\\mono\\GodotNuGetFallbackFolder", | ||
| 18 | - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" | ||
| 19 | - ], | ||
| 20 | - "configFilePaths": [ | ||
| 21 | - "C:\\Users\\anan\\AppData\\Roaming\\NuGet\\NuGet.Config", | ||
| 22 | - "C:\\Users\\anan\\AppData\\Roaming\\NuGet\\config\\Godot.Offline.Config", | ||
| 23 | - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", | ||
| 24 | - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" | ||
| 25 | - ], | ||
| 26 | - "originalTargetFrameworks": [ | ||
| 27 | - "net8.0" | ||
| 28 | - ], | ||
| 29 | - "sources": { | ||
| 30 | - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, | ||
| 31 | - "C:\\Program Files\\dotnet\\library-packs": {}, | ||
| 32 | - "https://api.nuget.org/v3/index.json": {} | ||
| 33 | - }, | ||
| 34 | - "frameworks": { | ||
| 35 | - "net8.0": { | ||
| 36 | - "targetAlias": "net8.0", | ||
| 37 | - "projectReferences": {} | ||
| 38 | - } | ||
| 39 | - }, | ||
| 40 | - "warningProperties": { | ||
| 41 | - "warnAsError": [ | ||
| 42 | - "NU1605" | ||
| 43 | - ] | ||
| 44 | - }, | ||
| 45 | - "restoreAuditProperties": { | ||
| 46 | - "enableAudit": "true", | ||
| 47 | - "auditLevel": "low", | ||
| 48 | - "auditMode": "direct" | ||
| 49 | - } | ||
| 50 | - }, | ||
| 51 | - "frameworks": { | ||
| 52 | - "net8.0": { | ||
| 53 | - "targetAlias": "net8.0", | ||
| 54 | - "dependencies": { | ||
| 55 | - "FreeSql": { | ||
| 56 | - "target": "Package", | ||
| 57 | - "version": "[3.2.821, )" | ||
| 58 | - }, | ||
| 59 | - "FreeSql.Provider.Sqlite": { | ||
| 60 | - "target": "Package", | ||
| 61 | - "version": "[3.2.821, )" | ||
| 62 | - }, | ||
| 63 | - "FreeSql.Repository": { | ||
| 64 | - "target": "Package", | ||
| 65 | - "version": "[3.2.821, )" | ||
| 66 | - }, | ||
| 67 | - "Swashbuckle.AspNetCore": { | ||
| 68 | - "target": "Package", | ||
| 69 | - "version": "[6.4.0, )" | ||
| 70 | - } | ||
| 71 | - }, | ||
| 72 | - "imports": [ | ||
| 73 | - "net461", | ||
| 74 | - "net462", | ||
| 75 | - "net47", | ||
| 76 | - "net471", | ||
| 77 | - "net472", | ||
| 78 | - "net48", | ||
| 79 | - "net481" | ||
| 80 | - ], | ||
| 81 | - "assetTargetFallback": true, | ||
| 82 | - "warn": true, | ||
| 83 | - "frameworkReferences": { | ||
| 84 | - "Microsoft.AspNetCore.App": { | ||
| 85 | - "privateAssets": "none" | ||
| 86 | - }, | ||
| 87 | - "Microsoft.NETCore.App": { | ||
| 88 | - "privateAssets": "all" | ||
| 89 | - } | ||
| 90 | - }, | ||
| 91 | - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.201/PortableRuntimeIdentifierGraph.json" | ||
| 92 | - } | ||
| 93 | - } | ||
| 94 | - } | ||
| 95 | - } | ||
| 96 | -} | ||
| 97 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Blueprint.Net.Server.csproj.nuget.g.props deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
| 2 | -<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | - <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
| 4 | - <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> | ||
| 5 | - <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> | ||
| 6 | - <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> | ||
| 7 | - <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> | ||
| 8 | - <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\anan\.nuget\packages\;C:\Users\anan\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders> | ||
| 9 | - <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> | ||
| 10 | - <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion> | ||
| 11 | - </PropertyGroup> | ||
| 12 | - <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
| 13 | - <SourceRoot Include="C:\Users\anan\.nuget\packages\" /> | ||
| 14 | - <SourceRoot Include="C:\Users\anan\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder\" /> | ||
| 15 | - <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" /> | ||
| 16 | - </ItemGroup> | ||
| 17 | - <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
| 18 | - <Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.props')" /> | ||
| 19 | - <Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.4.0\build\Swashbuckle.AspNetCore.props')" /> | ||
| 20 | - </ImportGroup> | ||
| 21 | - <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
| 22 | - <PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\anan\.nuget\packages\microsoft.extensions.apidescription.server\6.0.5</PkgMicrosoft_Extensions_ApiDescription_Server> | ||
| 23 | - </PropertyGroup> | ||
| 24 | -</Project> | ||
| 25 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Blueprint.Net.Server.csproj.nuget.g.targets deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="utf-8" standalone="no"?> | ||
| 2 | -<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | - <ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | ||
| 4 | - <Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\6.0.5\build\Microsoft.Extensions.ApiDescription.Server.targets')" /> | ||
| 5 | - </ImportGroup> | ||
| 6 | -</Project> | ||
| 7 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/ApiEndpoints.json deleted
100644 → 0
| 1 | -[ | ||
| 2 | - { | ||
| 3 | - "ContainingType": "Blueprint.Net.Server.Controllers.BlueprintController", | ||
| 4 | - "Method": "DeleteCard", | ||
| 5 | - "RelativePath": "Blueprint/DeleteCard/{id}", | ||
| 6 | - "HttpMethod": "DELETE", | ||
| 7 | - "IsController": true, | ||
| 8 | - "Order": 0, | ||
| 9 | - "Parameters": [ | ||
| 10 | - { | ||
| 11 | - "Name": "id", | ||
| 12 | - "Type": "System.Int64", | ||
| 13 | - "IsRequired": true | ||
| 14 | - } | ||
| 15 | - ], | ||
| 16 | - "ReturnTypes": [] | ||
| 17 | - }, | ||
| 18 | - { | ||
| 19 | - "ContainingType": "Blueprint.Net.Server.Controllers.BlueprintController", | ||
| 20 | - "Method": "DeleteLink", | ||
| 21 | - "RelativePath": "Blueprint/DeleteLink/{id}", | ||
| 22 | - "HttpMethod": "DELETE", | ||
| 23 | - "IsController": true, | ||
| 24 | - "Order": 0, | ||
| 25 | - "Parameters": [ | ||
| 26 | - { | ||
| 27 | - "Name": "id", | ||
| 28 | - "Type": "System.Int64", | ||
| 29 | - "IsRequired": true | ||
| 30 | - } | ||
| 31 | - ], | ||
| 32 | - "ReturnTypes": [] | ||
| 33 | - }, | ||
| 34 | - { | ||
| 35 | - "ContainingType": "Blueprint.Net.Server.Controllers.BlueprintController", | ||
| 36 | - "Method": "DeleteProject", | ||
| 37 | - "RelativePath": "Blueprint/DeleteProject/{id}", | ||
| 38 | - "HttpMethod": "DELETE", | ||
| 39 | - "IsController": true, | ||
| 40 | - "Order": 0, | ||
| 41 | - "Parameters": [ | ||
| 42 | - { | ||
| 43 | - "Name": "id", | ||
| 44 | - "Type": "System.Int64", | ||
| 45 | - "IsRequired": true | ||
| 46 | - } | ||
| 47 | - ], | ||
| 48 | - "ReturnTypes": [] | ||
| 49 | - }, | ||
| 50 | - { | ||
| 51 | - "ContainingType": "Blueprint.Net.Server.Controllers.BlueprintController", | ||
| 52 | - "Method": "DeleteWorkspace", | ||
| 53 | - "RelativePath": "Blueprint/DeleteWorkspace/{id}", | ||
| 54 | - "HttpMethod": "DELETE", | ||
| 55 | - "IsController": true, | ||
| 56 | - "Order": 0, | ||
| 57 | - "Parameters": [ | ||
| 58 | - { | ||
| 59 | - "Name": "id", | ||
| 60 | - "Type": "System.Int64", | ||
| 61 | - "IsRequired": true | ||
| 62 | - } | ||
| 63 | - ], | ||
| 64 | - "ReturnTypes": [] | ||
| 65 | - }, | ||
| 66 | - { | ||
| 67 | - "ContainingType": "Blueprint.Net.Server.Controllers.BlueprintController", | ||
| 68 | - "Method": "GetProjects", | ||
| 69 | - "RelativePath": "Blueprint/GetProjects", | ||
| 70 | - "HttpMethod": "GET", | ||
| 71 | - "IsController": true, | ||
| 72 | - "Order": 0, | ||
| 73 | - "Parameters": [], | ||
| 74 | - "ReturnTypes": [ | ||
| 75 | - { | ||
| 76 | - "Type": "System.Collections.Generic.IEnumerable\u00601[[Blueprint.Net.Server.Project, Blueprint.Net.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]", | ||
| 77 | - "MediaTypes": [ | ||
| 78 | - "text/plain", | ||
| 79 | - "application/json", | ||
| 80 | - "text/json" | ||
| 81 | - ], | ||
| 82 | - "StatusCode": 200 | ||
| 83 | - } | ||
| 84 | - ] | ||
| 85 | - }, | ||
| 86 | - { | ||
| 87 | - "ContainingType": "Blueprint.Net.Server.Controllers.BlueprintController", | ||
| 88 | - "Method": "Project", | ||
| 89 | - "RelativePath": "Blueprint/Project", | ||
| 90 | - "HttpMethod": "POST", | ||
| 91 | - "IsController": true, | ||
| 92 | - "Order": 0, | ||
| 93 | - "Parameters": [ | ||
| 94 | - { | ||
| 95 | - "Name": "project", | ||
| 96 | - "Type": "Blueprint.Net.Server.Project", | ||
| 97 | - "IsRequired": true | ||
| 98 | - } | ||
| 99 | - ], | ||
| 100 | - "ReturnTypes": [ | ||
| 101 | - { | ||
| 102 | - "Type": "Blueprint.Net.Server.Project", | ||
| 103 | - "MediaTypes": [ | ||
| 104 | - "text/plain", | ||
| 105 | - "application/json", | ||
| 106 | - "text/json" | ||
| 107 | - ], | ||
| 108 | - "StatusCode": 200 | ||
| 109 | - } | ||
| 110 | - ] | ||
| 111 | - } | ||
| 112 | -] | ||
| 113 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprin.F6C0E272.Up2Date deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.AssemblyInfo.cs deleted
100644 → 0
| 1 | -//------------------------------------------------------------------------------ | ||
| 2 | -// <auto-generated> | ||
| 3 | -// This code was generated by a tool. | ||
| 4 | -// | ||
| 5 | -// Changes to this file may cause incorrect behavior and will be lost if | ||
| 6 | -// the code is regenerated. | ||
| 7 | -// </auto-generated> | ||
| 8 | -//------------------------------------------------------------------------------ | ||
| 9 | - | ||
| 10 | -using System; | ||
| 11 | -using System.Reflection; | ||
| 12 | - | ||
| 13 | -[assembly: System.Reflection.AssemblyCompanyAttribute("Blueprint.Net.Server")] | ||
| 14 | -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | ||
| 15 | -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | ||
| 16 | -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+21310e5f9b84d697cb0feff5b5ab032eedbd8151")] | ||
| 17 | -[assembly: System.Reflection.AssemblyProductAttribute("Blueprint.Net.Server")] | ||
| 18 | -[assembly: System.Reflection.AssemblyTitleAttribute("Blueprint.Net.Server")] | ||
| 19 | -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | ||
| 20 | - | ||
| 21 | -// 由 MSBuild WriteCodeFragment 类生成。 | ||
| 22 | - |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.AssemblyInfoInputs.cache deleted
100644 → 0
| 1 | -5eddb37dc7a53e4fa87096743c7acd0b6360a57b70e21a4550930a7499bb9c12 |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.GeneratedMSBuildEditorConfig.editorconfig deleted
100644 → 0
| 1 | -is_global = true | ||
| 2 | -build_property.TargetFramework = net8.0 | ||
| 3 | -build_property.TargetPlatformMinVersion = | ||
| 4 | -build_property.UsingMicrosoftNETSdkWeb = true | ||
| 5 | -build_property.ProjectTypeGuids = | ||
| 6 | -build_property.InvariantGlobalization = | ||
| 7 | -build_property.PlatformNeutralAssembly = | ||
| 8 | -build_property.EnforceExtendedAnalyzerRules = | ||
| 9 | -build_property._SupportedPlatformList = Linux,macOS,Windows | ||
| 10 | -build_property.RootNamespace = Blueprint.Net.Server | ||
| 11 | -build_property.RootNamespace = Blueprint.Net.Server | ||
| 12 | -build_property.ProjectDir = E:\Code\Blueprint\Blueprint.Net.Server\ | ||
| 13 | -build_property.EnableComHosting = | ||
| 14 | -build_property.EnableGeneratedComInterfaceComImportInterop = | ||
| 15 | -build_property.RazorLangVersion = 8.0 | ||
| 16 | -build_property.SupportLocalizedComponentNames = | ||
| 17 | -build_property.GenerateRazorMetadataSourceChecksumAttributes = | ||
| 18 | -build_property.MSBuildProjectDirectory = E:\Code\Blueprint\Blueprint.Net.Server | ||
| 19 | -build_property._RazorSourceGeneratorDebug = |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.GlobalUsings.g.cs deleted
100644 → 0
| 1 | -// <auto-generated/> | ||
| 2 | -global using global::Microsoft.AspNetCore.Builder; | ||
| 3 | -global using global::Microsoft.AspNetCore.Hosting; | ||
| 4 | -global using global::Microsoft.AspNetCore.Http; | ||
| 5 | -global using global::Microsoft.AspNetCore.Routing; | ||
| 6 | -global using global::Microsoft.Extensions.Configuration; | ||
| 7 | -global using global::Microsoft.Extensions.DependencyInjection; | ||
| 8 | -global using global::Microsoft.Extensions.Hosting; | ||
| 9 | -global using global::Microsoft.Extensions.Logging; | ||
| 10 | -global using global::System; | ||
| 11 | -global using global::System.Collections.Generic; | ||
| 12 | -global using global::System.IO; | ||
| 13 | -global using global::System.Linq; | ||
| 14 | -global using global::System.Net.Http; | ||
| 15 | -global using global::System.Net.Http.Json; | ||
| 16 | -global using global::System.Threading; | ||
| 17 | -global using global::System.Threading.Tasks; |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.MvcApplicationPartsAssemblyInfo.cache deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.MvcApplicationPartsAssemblyInfo.cs deleted
100644 → 0
| 1 | -//------------------------------------------------------------------------------ | ||
| 2 | -// <auto-generated> | ||
| 3 | -// 此代码由工具生成。 | ||
| 4 | -// 运行时版本:4.0.30319.42000 | ||
| 5 | -// | ||
| 6 | -// 对此文件的更改可能会导致不正确的行为,并且如果 | ||
| 7 | -// 重新生成代码,这些更改将会丢失。 | ||
| 8 | -// </auto-generated> | ||
| 9 | -//------------------------------------------------------------------------------ | ||
| 10 | - | ||
| 11 | -using System; | ||
| 12 | -using System.Reflection; | ||
| 13 | - | ||
| 14 | -[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")] | ||
| 15 | - | ||
| 16 | -// 由 MSBuild WriteCodeFragment 类生成。 | ||
| 17 | - |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.assets.cache deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.csproj.AssemblyReference.cache deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.csproj.BuildWithSkipAnalyzers deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.csproj.CoreCompileInputs.cache deleted
100644 → 0
| 1 | -e6649176d8592337858ccf92973fd389b3d88f5441cf720c89972060326574ca |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.csproj.FileListAbsolute.txt deleted
100644 → 0
| 1 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.csproj.AssemblyReference.cache | ||
| 2 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.GeneratedMSBuildEditorConfig.editorconfig | ||
| 3 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.AssemblyInfoInputs.cache | ||
| 4 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.AssemblyInfo.cs | ||
| 5 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.csproj.CoreCompileInputs.cache | ||
| 6 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.MvcApplicationPartsAssemblyInfo.cs | ||
| 7 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.MvcApplicationPartsAssemblyInfo.cache | ||
| 8 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.sourcelink.json | ||
| 9 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\appsettings.Development.json | ||
| 10 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\appsettings.json | ||
| 11 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Blueprint.Net.Server.exe | ||
| 12 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Blueprint.Net.Server.deps.json | ||
| 13 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Blueprint.Net.Server.runtimeconfig.json | ||
| 14 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Blueprint.Net.Server.dll | ||
| 15 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Blueprint.Net.Server.pdb | ||
| 16 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\FreeSql.dll | ||
| 17 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\FreeSql.Provider.Sqlite.dll | ||
| 18 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Microsoft.OpenApi.dll | ||
| 19 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\System.Data.SQLite.dll | ||
| 20 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Swashbuckle.AspNetCore.Swagger.dll | ||
| 21 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerGen.dll | ||
| 22 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Swashbuckle.AspNetCore.SwaggerUI.dll | ||
| 23 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\zh-Hans\FreeSql.resources.dll | ||
| 24 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\runtimes\linux-x64\native\SQLite.Interop.dll | ||
| 25 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\runtimes\osx-x64\native\SQLite.Interop.dll | ||
| 26 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\runtimes\win-x64\native\SQLite.Interop.dll | ||
| 27 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\runtimes\win-x86\native\SQLite.Interop.dll | ||
| 28 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets.build.json | ||
| 29 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets.development.json | ||
| 30 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets\msbuild.Blueprint.Net.Server.Microsoft.AspNetCore.StaticWebAssets.props | ||
| 31 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets\msbuild.build.Blueprint.Net.Server.props | ||
| 32 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets\msbuild.buildMultiTargeting.Blueprint.Net.Server.props | ||
| 33 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets\msbuild.buildTransitive.Blueprint.Net.Server.props | ||
| 34 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\staticwebassets.pack.json | ||
| 35 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\scopedcss\bundle\Blueprint.Net.Server.styles.css | ||
| 36 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprin.F6C0E272.Up2Date | ||
| 37 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.dll | ||
| 38 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\refint\Blueprint.Net.Server.dll | ||
| 39 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.pdb | ||
| 40 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\Blueprint.Net.Server.genruntimeconfig.cache | ||
| 41 | -E:\Code\Blueprint\Blueprint.Net.Server\obj\Debug\net8.0\ref\Blueprint.Net.Server.dll | ||
| 42 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\FreeSql.DbContext.dll | ||
| 43 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\FreeSql.Repository.dll | ||
| 44 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\zh-Hans\FreeSql.DbContext.resources.dll | ||
| 45 | -E:\Code\Blueprint\Blueprint.Net.Server\bin\Debug\net8.0\Blueprint.Net.Server.staticwebassets.runtime.json |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.genruntimeconfig.cache deleted
100644 → 0
| 1 | -8acfbde84a0808a05ea09472133bf8a326d26f20e0ddb65a94244d389946671b |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.pdb deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/Blueprint.Net.Server.sourcelink.json deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/apphost.exe deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/ref/Blueprint.Net.Server.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/refint/Blueprint.Net.Server.dll deleted
100644 → 0
No preview for this file type
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets.build.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "Version": 1, | ||
| 3 | - "Hash": "Pejh5880OWDtzUDeaYI0R3uZI5plIRGeOY+LIYo1sp8=", | ||
| 4 | - "Source": "Blueprint.Net.Server", | ||
| 5 | - "BasePath": "_content/Blueprint.Net.Server", | ||
| 6 | - "Mode": "Default", | ||
| 7 | - "ManifestType": "Build", | ||
| 8 | - "ReferencedProjectsConfiguration": [], | ||
| 9 | - "DiscoveryPatterns": [ | ||
| 10 | - { | ||
| 11 | - "Name": "Blueprint.Net.Server\\wwwroot", | ||
| 12 | - "Source": "Blueprint.Net.Server", | ||
| 13 | - "ContentRoot": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\wwwroot\\", | ||
| 14 | - "BasePath": "_content/Blueprint.Net.Server", | ||
| 15 | - "Pattern": "**" | ||
| 16 | - } | ||
| 17 | - ], | ||
| 18 | - "Assets": [ | ||
| 19 | - { | ||
| 20 | - "Identity": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\wwwroot\\index.html", | ||
| 21 | - "SourceId": "Blueprint.Net.Server", | ||
| 22 | - "SourceType": "Discovered", | ||
| 23 | - "ContentRoot": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\wwwroot\\", | ||
| 24 | - "BasePath": "_content/Blueprint.Net.Server", | ||
| 25 | - "RelativePath": "index.html", | ||
| 26 | - "AssetKind": "All", | ||
| 27 | - "AssetMode": "All", | ||
| 28 | - "AssetRole": "Primary", | ||
| 29 | - "AssetMergeBehavior": "PreferTarget", | ||
| 30 | - "AssetMergeSource": "", | ||
| 31 | - "RelatedAsset": "", | ||
| 32 | - "AssetTraitName": "", | ||
| 33 | - "AssetTraitValue": "", | ||
| 34 | - "CopyToOutputDirectory": "Never", | ||
| 35 | - "CopyToPublishDirectory": "PreserveNewest", | ||
| 36 | - "OriginalItemSpec": "wwwroot\\index.html" | ||
| 37 | - } | ||
| 38 | - ] | ||
| 39 | -} | ||
| 40 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets.development.json deleted
100644 → 0
| 1 | -{"ContentRoots":["E:\\Code\\Blueprint\\Blueprint.Net.Server\\wwwroot\\"],"Root":{"Children":{"index.html":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"index.html"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} | ||
| 2 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets.pack.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "Files": [ | ||
| 3 | - { | ||
| 4 | - "Id": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\wwwroot\\index.html", | ||
| 5 | - "PackagePath": "staticwebassets\\index.html" | ||
| 6 | - }, | ||
| 7 | - { | ||
| 8 | - "Id": "obj\\Debug\\net8.0\\staticwebassets\\msbuild.Blueprint.Net.Server.Microsoft.AspNetCore.StaticWebAssets.props", | ||
| 9 | - "PackagePath": "build\\Microsoft.AspNetCore.StaticWebAssets.props" | ||
| 10 | - }, | ||
| 11 | - { | ||
| 12 | - "Id": "obj\\Debug\\net8.0\\staticwebassets\\msbuild.build.Blueprint.Net.Server.props", | ||
| 13 | - "PackagePath": "build\\Blueprint.Net.Server.props" | ||
| 14 | - }, | ||
| 15 | - { | ||
| 16 | - "Id": "obj\\Debug\\net8.0\\staticwebassets\\msbuild.buildMultiTargeting.Blueprint.Net.Server.props", | ||
| 17 | - "PackagePath": "buildMultiTargeting\\Blueprint.Net.Server.props" | ||
| 18 | - }, | ||
| 19 | - { | ||
| 20 | - "Id": "obj\\Debug\\net8.0\\staticwebassets\\msbuild.buildTransitive.Blueprint.Net.Server.props", | ||
| 21 | - "PackagePath": "buildTransitive\\Blueprint.Net.Server.props" | ||
| 22 | - } | ||
| 23 | - ], | ||
| 24 | - "ElementsToRemove": [] | ||
| 25 | -} | ||
| 26 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets/msbuild.Blueprint.Net.Server.Microsoft.AspNetCore.StaticWebAssets.props deleted
100644 → 0
| 1 | -<Project> | ||
| 2 | - <ItemGroup> | ||
| 3 | - <StaticWebAsset Include="$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\index.html))"> | ||
| 4 | - <SourceType>Package</SourceType> | ||
| 5 | - <SourceId>Blueprint.Net.Server</SourceId> | ||
| 6 | - <ContentRoot>$(MSBuildThisFileDirectory)..\staticwebassets\</ContentRoot> | ||
| 7 | - <BasePath>_content/Blueprint.Net.Server</BasePath> | ||
| 8 | - <RelativePath>index.html</RelativePath> | ||
| 9 | - <AssetKind>All</AssetKind> | ||
| 10 | - <AssetMode>All</AssetMode> | ||
| 11 | - <AssetRole>Primary</AssetRole> | ||
| 12 | - <RelatedAsset></RelatedAsset> | ||
| 13 | - <AssetTraitName></AssetTraitName> | ||
| 14 | - <AssetTraitValue></AssetTraitValue> | ||
| 15 | - <CopyToOutputDirectory>Never</CopyToOutputDirectory> | ||
| 16 | - <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
| 17 | - <OriginalItemSpec>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\index.html))</OriginalItemSpec> | ||
| 18 | - </StaticWebAsset> | ||
| 19 | - </ItemGroup> | ||
| 20 | -</Project> | ||
| 21 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets/msbuild.build.Blueprint.Net.Server.props deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets/msbuild.buildMultiTargeting.Blueprint.Net.Server.props deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/Debug/net8.0/staticwebassets/msbuild.buildTransitive.Blueprint.Net.Server.props deleted
100644 → 0
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/project.assets.json deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "version": 3, | ||
| 3 | - "targets": { | ||
| 4 | - "net8.0": { | ||
| 5 | - "FreeSql/3.2.821": { | ||
| 6 | - "type": "package", | ||
| 7 | - "compile": { | ||
| 8 | - "lib/netstandard2.1/FreeSql.dll": { | ||
| 9 | - "related": ".pdb;.xml" | ||
| 10 | - } | ||
| 11 | - }, | ||
| 12 | - "runtime": { | ||
| 13 | - "lib/netstandard2.1/FreeSql.dll": { | ||
| 14 | - "related": ".pdb;.xml" | ||
| 15 | - } | ||
| 16 | - }, | ||
| 17 | - "resource": { | ||
| 18 | - "lib/netstandard2.1/zh-Hans/FreeSql.resources.dll": { | ||
| 19 | - "locale": "zh-Hans" | ||
| 20 | - } | ||
| 21 | - } | ||
| 22 | - }, | ||
| 23 | - "FreeSql.DbContext/3.2.821": { | ||
| 24 | - "type": "package", | ||
| 25 | - "dependencies": { | ||
| 26 | - "FreeSql": "3.2.821", | ||
| 27 | - "Microsoft.Extensions.DependencyInjection": "8.0.0" | ||
| 28 | - }, | ||
| 29 | - "compile": { | ||
| 30 | - "lib/net8.0/FreeSql.DbContext.dll": { | ||
| 31 | - "related": ".pdb;.xml" | ||
| 32 | - } | ||
| 33 | - }, | ||
| 34 | - "runtime": { | ||
| 35 | - "lib/net8.0/FreeSql.DbContext.dll": { | ||
| 36 | - "related": ".pdb;.xml" | ||
| 37 | - } | ||
| 38 | - }, | ||
| 39 | - "resource": { | ||
| 40 | - "lib/net8.0/zh-Hans/FreeSql.DbContext.resources.dll": { | ||
| 41 | - "locale": "zh-Hans" | ||
| 42 | - } | ||
| 43 | - } | ||
| 44 | - }, | ||
| 45 | - "FreeSql.Provider.Sqlite/3.2.821": { | ||
| 46 | - "type": "package", | ||
| 47 | - "dependencies": { | ||
| 48 | - "FreeSql": "3.2.821", | ||
| 49 | - "System.Data.SQLite.Core": "1.0.115.5" | ||
| 50 | - }, | ||
| 51 | - "compile": { | ||
| 52 | - "lib/netstandard2.0/FreeSql.Provider.Sqlite.dll": { | ||
| 53 | - "related": ".pdb" | ||
| 54 | - } | ||
| 55 | - }, | ||
| 56 | - "runtime": { | ||
| 57 | - "lib/netstandard2.0/FreeSql.Provider.Sqlite.dll": { | ||
| 58 | - "related": ".pdb" | ||
| 59 | - } | ||
| 60 | - } | ||
| 61 | - }, | ||
| 62 | - "FreeSql.Repository/3.2.821": { | ||
| 63 | - "type": "package", | ||
| 64 | - "dependencies": { | ||
| 65 | - "FreeSql.DbContext": "3.2.821" | ||
| 66 | - }, | ||
| 67 | - "compile": { | ||
| 68 | - "lib/net8.0/FreeSql.Repository.dll": { | ||
| 69 | - "related": ".pdb" | ||
| 70 | - } | ||
| 71 | - }, | ||
| 72 | - "runtime": { | ||
| 73 | - "lib/net8.0/FreeSql.Repository.dll": { | ||
| 74 | - "related": ".pdb" | ||
| 75 | - } | ||
| 76 | - } | ||
| 77 | - }, | ||
| 78 | - "Microsoft.Extensions.ApiDescription.Server/6.0.5": { | ||
| 79 | - "type": "package", | ||
| 80 | - "build": { | ||
| 81 | - "build/Microsoft.Extensions.ApiDescription.Server.props": {}, | ||
| 82 | - "build/Microsoft.Extensions.ApiDescription.Server.targets": {} | ||
| 83 | - }, | ||
| 84 | - "buildMultiTargeting": { | ||
| 85 | - "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props": {}, | ||
| 86 | - "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets": {} | ||
| 87 | - } | ||
| 88 | - }, | ||
| 89 | - "Microsoft.Extensions.DependencyInjection/8.0.0": { | ||
| 90 | - "type": "package", | ||
| 91 | - "dependencies": { | ||
| 92 | - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0" | ||
| 93 | - }, | ||
| 94 | - "compile": { | ||
| 95 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { | ||
| 96 | - "related": ".xml" | ||
| 97 | - } | ||
| 98 | - }, | ||
| 99 | - "runtime": { | ||
| 100 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { | ||
| 101 | - "related": ".xml" | ||
| 102 | - } | ||
| 103 | - }, | ||
| 104 | - "build": { | ||
| 105 | - "buildTransitive/net6.0/_._": {} | ||
| 106 | - } | ||
| 107 | - }, | ||
| 108 | - "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { | ||
| 109 | - "type": "package", | ||
| 110 | - "compile": { | ||
| 111 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { | ||
| 112 | - "related": ".xml" | ||
| 113 | - } | ||
| 114 | - }, | ||
| 115 | - "runtime": { | ||
| 116 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { | ||
| 117 | - "related": ".xml" | ||
| 118 | - } | ||
| 119 | - }, | ||
| 120 | - "build": { | ||
| 121 | - "buildTransitive/net6.0/_._": {} | ||
| 122 | - } | ||
| 123 | - }, | ||
| 124 | - "Microsoft.OpenApi/1.2.3": { | ||
| 125 | - "type": "package", | ||
| 126 | - "compile": { | ||
| 127 | - "lib/netstandard2.0/Microsoft.OpenApi.dll": { | ||
| 128 | - "related": ".pdb;.xml" | ||
| 129 | - } | ||
| 130 | - }, | ||
| 131 | - "runtime": { | ||
| 132 | - "lib/netstandard2.0/Microsoft.OpenApi.dll": { | ||
| 133 | - "related": ".pdb;.xml" | ||
| 134 | - } | ||
| 135 | - } | ||
| 136 | - }, | ||
| 137 | - "Stub.System.Data.SQLite.Core.NetStandard/1.0.115.5": { | ||
| 138 | - "type": "package", | ||
| 139 | - "compile": { | ||
| 140 | - "lib/netstandard2.1/System.Data.SQLite.dll": { | ||
| 141 | - "related": ".dll.altconfig;.xml" | ||
| 142 | - } | ||
| 143 | - }, | ||
| 144 | - "runtime": { | ||
| 145 | - "lib/netstandard2.1/System.Data.SQLite.dll": { | ||
| 146 | - "related": ".dll.altconfig;.xml" | ||
| 147 | - } | ||
| 148 | - }, | ||
| 149 | - "runtimeTargets": { | ||
| 150 | - "runtimes/linux-x64/native/SQLite.Interop.dll": { | ||
| 151 | - "assetType": "native", | ||
| 152 | - "rid": "linux-x64" | ||
| 153 | - }, | ||
| 154 | - "runtimes/osx-x64/native/SQLite.Interop.dll": { | ||
| 155 | - "assetType": "native", | ||
| 156 | - "rid": "osx-x64" | ||
| 157 | - }, | ||
| 158 | - "runtimes/win-x64/native/SQLite.Interop.dll": { | ||
| 159 | - "assetType": "native", | ||
| 160 | - "rid": "win-x64" | ||
| 161 | - }, | ||
| 162 | - "runtimes/win-x86/native/SQLite.Interop.dll": { | ||
| 163 | - "assetType": "native", | ||
| 164 | - "rid": "win-x86" | ||
| 165 | - } | ||
| 166 | - } | ||
| 167 | - }, | ||
| 168 | - "Swashbuckle.AspNetCore/6.4.0": { | ||
| 169 | - "type": "package", | ||
| 170 | - "dependencies": { | ||
| 171 | - "Microsoft.Extensions.ApiDescription.Server": "6.0.5", | ||
| 172 | - "Swashbuckle.AspNetCore.Swagger": "6.4.0", | ||
| 173 | - "Swashbuckle.AspNetCore.SwaggerGen": "6.4.0", | ||
| 174 | - "Swashbuckle.AspNetCore.SwaggerUI": "6.4.0" | ||
| 175 | - }, | ||
| 176 | - "build": { | ||
| 177 | - "build/Swashbuckle.AspNetCore.props": {} | ||
| 178 | - } | ||
| 179 | - }, | ||
| 180 | - "Swashbuckle.AspNetCore.Swagger/6.4.0": { | ||
| 181 | - "type": "package", | ||
| 182 | - "dependencies": { | ||
| 183 | - "Microsoft.OpenApi": "1.2.3" | ||
| 184 | - }, | ||
| 185 | - "compile": { | ||
| 186 | - "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { | ||
| 187 | - "related": ".pdb;.xml" | ||
| 188 | - } | ||
| 189 | - }, | ||
| 190 | - "runtime": { | ||
| 191 | - "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { | ||
| 192 | - "related": ".pdb;.xml" | ||
| 193 | - } | ||
| 194 | - }, | ||
| 195 | - "frameworkReferences": [ | ||
| 196 | - "Microsoft.AspNetCore.App" | ||
| 197 | - ] | ||
| 198 | - }, | ||
| 199 | - "Swashbuckle.AspNetCore.SwaggerGen/6.4.0": { | ||
| 200 | - "type": "package", | ||
| 201 | - "dependencies": { | ||
| 202 | - "Swashbuckle.AspNetCore.Swagger": "6.4.0" | ||
| 203 | - }, | ||
| 204 | - "compile": { | ||
| 205 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { | ||
| 206 | - "related": ".pdb;.xml" | ||
| 207 | - } | ||
| 208 | - }, | ||
| 209 | - "runtime": { | ||
| 210 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { | ||
| 211 | - "related": ".pdb;.xml" | ||
| 212 | - } | ||
| 213 | - } | ||
| 214 | - }, | ||
| 215 | - "Swashbuckle.AspNetCore.SwaggerUI/6.4.0": { | ||
| 216 | - "type": "package", | ||
| 217 | - "compile": { | ||
| 218 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { | ||
| 219 | - "related": ".pdb;.xml" | ||
| 220 | - } | ||
| 221 | - }, | ||
| 222 | - "runtime": { | ||
| 223 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { | ||
| 224 | - "related": ".pdb;.xml" | ||
| 225 | - } | ||
| 226 | - }, | ||
| 227 | - "frameworkReferences": [ | ||
| 228 | - "Microsoft.AspNetCore.App" | ||
| 229 | - ] | ||
| 230 | - }, | ||
| 231 | - "System.Data.SQLite.Core/1.0.115.5": { | ||
| 232 | - "type": "package", | ||
| 233 | - "dependencies": { | ||
| 234 | - "Stub.System.Data.SQLite.Core.NetStandard": "[1.0.115.5]" | ||
| 235 | - } | ||
| 236 | - } | ||
| 237 | - } | ||
| 238 | - }, | ||
| 239 | - "libraries": { | ||
| 240 | - "FreeSql/3.2.821": { | ||
| 241 | - "sha512": "bI/CTioEq4B9k5pqaZnXBSyJCIbHoUUTJGgQJF5osgq7/9kOxZo93hmZr8Vw6n5iFG5chx6wkcn4dnJJUsAEkA==", | ||
| 242 | - "type": "package", | ||
| 243 | - "path": "freesql/3.2.821", | ||
| 244 | - "files": [ | ||
| 245 | - ".nupkg.metadata", | ||
| 246 | - ".signature.p7s", | ||
| 247 | - "freesql.3.2.821.nupkg.sha512", | ||
| 248 | - "freesql.nuspec", | ||
| 249 | - "lib/net40/FreeSql.dll", | ||
| 250 | - "lib/net40/FreeSql.pdb", | ||
| 251 | - "lib/net40/FreeSql.xml", | ||
| 252 | - "lib/net40/zh-Hans/FreeSql.resources.dll", | ||
| 253 | - "lib/net45/FreeSql.dll", | ||
| 254 | - "lib/net45/FreeSql.pdb", | ||
| 255 | - "lib/net45/FreeSql.xml", | ||
| 256 | - "lib/net45/zh-Hans/FreeSql.resources.dll", | ||
| 257 | - "lib/net451/FreeSql.dll", | ||
| 258 | - "lib/net451/FreeSql.pdb", | ||
| 259 | - "lib/net451/FreeSql.xml", | ||
| 260 | - "lib/net451/zh-Hans/FreeSql.resources.dll", | ||
| 261 | - "lib/netstandard2.0/FreeSql.dll", | ||
| 262 | - "lib/netstandard2.0/FreeSql.pdb", | ||
| 263 | - "lib/netstandard2.0/FreeSql.xml", | ||
| 264 | - "lib/netstandard2.0/zh-Hans/FreeSql.resources.dll", | ||
| 265 | - "lib/netstandard2.1/FreeSql.dll", | ||
| 266 | - "lib/netstandard2.1/FreeSql.pdb", | ||
| 267 | - "lib/netstandard2.1/FreeSql.xml", | ||
| 268 | - "lib/netstandard2.1/zh-Hans/FreeSql.resources.dll", | ||
| 269 | - "logo.png", | ||
| 270 | - "readme.md" | ||
| 271 | - ] | ||
| 272 | - }, | ||
| 273 | - "FreeSql.DbContext/3.2.821": { | ||
| 274 | - "sha512": "wQWjKj7/2Iwzp5WxOE5WV/HmoVmj6fKPYGBxKB7JWxF7HudmXjeZS1Hll2ovQksqF/YujYf7SxGbDv5mU9qSGA==", | ||
| 275 | - "type": "package", | ||
| 276 | - "path": "freesql.dbcontext/3.2.821", | ||
| 277 | - "files": [ | ||
| 278 | - ".nupkg.metadata", | ||
| 279 | - ".signature.p7s", | ||
| 280 | - "freesql.dbcontext.3.2.821.nupkg.sha512", | ||
| 281 | - "freesql.dbcontext.nuspec", | ||
| 282 | - "lib/net40/FreeSql.DbContext.dll", | ||
| 283 | - "lib/net40/FreeSql.DbContext.pdb", | ||
| 284 | - "lib/net40/FreeSql.DbContext.xml", | ||
| 285 | - "lib/net40/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 286 | - "lib/net45/FreeSql.DbContext.dll", | ||
| 287 | - "lib/net45/FreeSql.DbContext.pdb", | ||
| 288 | - "lib/net45/FreeSql.DbContext.xml", | ||
| 289 | - "lib/net45/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 290 | - "lib/net5.0/FreeSql.DbContext.dll", | ||
| 291 | - "lib/net5.0/FreeSql.DbContext.pdb", | ||
| 292 | - "lib/net5.0/FreeSql.DbContext.xml", | ||
| 293 | - "lib/net5.0/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 294 | - "lib/net6.0/FreeSql.DbContext.dll", | ||
| 295 | - "lib/net6.0/FreeSql.DbContext.pdb", | ||
| 296 | - "lib/net6.0/FreeSql.DbContext.xml", | ||
| 297 | - "lib/net6.0/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 298 | - "lib/net7.0/FreeSql.DbContext.dll", | ||
| 299 | - "lib/net7.0/FreeSql.DbContext.pdb", | ||
| 300 | - "lib/net7.0/FreeSql.DbContext.xml", | ||
| 301 | - "lib/net7.0/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 302 | - "lib/net8.0/FreeSql.DbContext.dll", | ||
| 303 | - "lib/net8.0/FreeSql.DbContext.pdb", | ||
| 304 | - "lib/net8.0/FreeSql.DbContext.xml", | ||
| 305 | - "lib/net8.0/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 306 | - "lib/netcoreapp3.1/FreeSql.DbContext.dll", | ||
| 307 | - "lib/netcoreapp3.1/FreeSql.DbContext.pdb", | ||
| 308 | - "lib/netcoreapp3.1/FreeSql.DbContext.xml", | ||
| 309 | - "lib/netcoreapp3.1/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 310 | - "lib/netstandard2.0/FreeSql.DbContext.dll", | ||
| 311 | - "lib/netstandard2.0/FreeSql.DbContext.pdb", | ||
| 312 | - "lib/netstandard2.0/FreeSql.DbContext.xml", | ||
| 313 | - "lib/netstandard2.0/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 314 | - "lib/netstandard2.1/FreeSql.DbContext.dll", | ||
| 315 | - "lib/netstandard2.1/FreeSql.DbContext.pdb", | ||
| 316 | - "lib/netstandard2.1/FreeSql.DbContext.xml", | ||
| 317 | - "lib/netstandard2.1/zh-Hans/FreeSql.DbContext.resources.dll", | ||
| 318 | - "logo.png", | ||
| 319 | - "readme.md" | ||
| 320 | - ] | ||
| 321 | - }, | ||
| 322 | - "FreeSql.Provider.Sqlite/3.2.821": { | ||
| 323 | - "sha512": "vBvvq9mDz488XWYeNQSSt8t3FCKquS4DPab7hu7QVRF0ftXRAc6rRK5axFFJZjc5ABU7aIKtu1UiKQky8z/VnA==", | ||
| 324 | - "type": "package", | ||
| 325 | - "path": "freesql.provider.sqlite/3.2.821", | ||
| 326 | - "files": [ | ||
| 327 | - ".nupkg.metadata", | ||
| 328 | - ".signature.p7s", | ||
| 329 | - "freesql.provider.sqlite.3.2.821.nupkg.sha512", | ||
| 330 | - "freesql.provider.sqlite.nuspec", | ||
| 331 | - "lib/net40/FreeSql.Provider.Sqlite.dll", | ||
| 332 | - "lib/net40/FreeSql.Provider.Sqlite.pdb", | ||
| 333 | - "lib/net45/FreeSql.Provider.Sqlite.dll", | ||
| 334 | - "lib/net45/FreeSql.Provider.Sqlite.pdb", | ||
| 335 | - "lib/netstandard2.0/FreeSql.Provider.Sqlite.dll", | ||
| 336 | - "lib/netstandard2.0/FreeSql.Provider.Sqlite.pdb", | ||
| 337 | - "logo.png", | ||
| 338 | - "readme.md" | ||
| 339 | - ] | ||
| 340 | - }, | ||
| 341 | - "FreeSql.Repository/3.2.821": { | ||
| 342 | - "sha512": "cE/VG103FYXn2m63Xp7heYptPazNN+z+dUm9jZe2vNwV8LUCU3PbY04MD+liyQBCZ5WGCK70Pe4GXGfQzvRMLw==", | ||
| 343 | - "type": "package", | ||
| 344 | - "path": "freesql.repository/3.2.821", | ||
| 345 | - "files": [ | ||
| 346 | - ".nupkg.metadata", | ||
| 347 | - ".signature.p7s", | ||
| 348 | - "freesql.repository.3.2.821.nupkg.sha512", | ||
| 349 | - "freesql.repository.nuspec", | ||
| 350 | - "lib/net40/FreeSql.Repository.dll", | ||
| 351 | - "lib/net40/FreeSql.Repository.pdb", | ||
| 352 | - "lib/net45/FreeSql.Repository.dll", | ||
| 353 | - "lib/net45/FreeSql.Repository.pdb", | ||
| 354 | - "lib/net5.0/FreeSql.Repository.dll", | ||
| 355 | - "lib/net5.0/FreeSql.Repository.pdb", | ||
| 356 | - "lib/net6.0/FreeSql.Repository.dll", | ||
| 357 | - "lib/net6.0/FreeSql.Repository.pdb", | ||
| 358 | - "lib/net7.0/FreeSql.Repository.dll", | ||
| 359 | - "lib/net7.0/FreeSql.Repository.pdb", | ||
| 360 | - "lib/net8.0/FreeSql.Repository.dll", | ||
| 361 | - "lib/net8.0/FreeSql.Repository.pdb", | ||
| 362 | - "lib/netcoreapp3.1/FreeSql.Repository.dll", | ||
| 363 | - "lib/netcoreapp3.1/FreeSql.Repository.pdb", | ||
| 364 | - "lib/netstandard2.0/FreeSql.Repository.dll", | ||
| 365 | - "lib/netstandard2.0/FreeSql.Repository.pdb", | ||
| 366 | - "lib/netstandard2.1/FreeSql.Repository.dll", | ||
| 367 | - "lib/netstandard2.1/FreeSql.Repository.pdb", | ||
| 368 | - "logo.png", | ||
| 369 | - "readme.md" | ||
| 370 | - ] | ||
| 371 | - }, | ||
| 372 | - "Microsoft.Extensions.ApiDescription.Server/6.0.5": { | ||
| 373 | - "sha512": "Ckb5EDBUNJdFWyajfXzUIMRkhf52fHZOQuuZg/oiu8y7zDCVwD0iHhew6MnThjHmevanpxL3f5ci2TtHQEN6bw==", | ||
| 374 | - "type": "package", | ||
| 375 | - "path": "microsoft.extensions.apidescription.server/6.0.5", | ||
| 376 | - "hasTools": true, | ||
| 377 | - "files": [ | ||
| 378 | - ".nupkg.metadata", | ||
| 379 | - ".signature.p7s", | ||
| 380 | - "Icon.png", | ||
| 381 | - "build/Microsoft.Extensions.ApiDescription.Server.props", | ||
| 382 | - "build/Microsoft.Extensions.ApiDescription.Server.targets", | ||
| 383 | - "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props", | ||
| 384 | - "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets", | ||
| 385 | - "microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512", | ||
| 386 | - "microsoft.extensions.apidescription.server.nuspec", | ||
| 387 | - "tools/Newtonsoft.Json.dll", | ||
| 388 | - "tools/dotnet-getdocument.deps.json", | ||
| 389 | - "tools/dotnet-getdocument.dll", | ||
| 390 | - "tools/dotnet-getdocument.runtimeconfig.json", | ||
| 391 | - "tools/net461-x86/GetDocument.Insider.exe", | ||
| 392 | - "tools/net461-x86/GetDocument.Insider.exe.config", | ||
| 393 | - "tools/net461-x86/Microsoft.Win32.Primitives.dll", | ||
| 394 | - "tools/net461-x86/System.AppContext.dll", | ||
| 395 | - "tools/net461-x86/System.Buffers.dll", | ||
| 396 | - "tools/net461-x86/System.Collections.Concurrent.dll", | ||
| 397 | - "tools/net461-x86/System.Collections.NonGeneric.dll", | ||
| 398 | - "tools/net461-x86/System.Collections.Specialized.dll", | ||
| 399 | - "tools/net461-x86/System.Collections.dll", | ||
| 400 | - "tools/net461-x86/System.ComponentModel.EventBasedAsync.dll", | ||
| 401 | - "tools/net461-x86/System.ComponentModel.Primitives.dll", | ||
| 402 | - "tools/net461-x86/System.ComponentModel.TypeConverter.dll", | ||
| 403 | - "tools/net461-x86/System.ComponentModel.dll", | ||
| 404 | - "tools/net461-x86/System.Console.dll", | ||
| 405 | - "tools/net461-x86/System.Data.Common.dll", | ||
| 406 | - "tools/net461-x86/System.Diagnostics.Contracts.dll", | ||
| 407 | - "tools/net461-x86/System.Diagnostics.Debug.dll", | ||
| 408 | - "tools/net461-x86/System.Diagnostics.DiagnosticSource.dll", | ||
| 409 | - "tools/net461-x86/System.Diagnostics.FileVersionInfo.dll", | ||
| 410 | - "tools/net461-x86/System.Diagnostics.Process.dll", | ||
| 411 | - "tools/net461-x86/System.Diagnostics.StackTrace.dll", | ||
| 412 | - "tools/net461-x86/System.Diagnostics.TextWriterTraceListener.dll", | ||
| 413 | - "tools/net461-x86/System.Diagnostics.Tools.dll", | ||
| 414 | - "tools/net461-x86/System.Diagnostics.TraceSource.dll", | ||
| 415 | - "tools/net461-x86/System.Diagnostics.Tracing.dll", | ||
| 416 | - "tools/net461-x86/System.Drawing.Primitives.dll", | ||
| 417 | - "tools/net461-x86/System.Dynamic.Runtime.dll", | ||
| 418 | - "tools/net461-x86/System.Globalization.Calendars.dll", | ||
| 419 | - "tools/net461-x86/System.Globalization.Extensions.dll", | ||
| 420 | - "tools/net461-x86/System.Globalization.dll", | ||
| 421 | - "tools/net461-x86/System.IO.Compression.ZipFile.dll", | ||
| 422 | - "tools/net461-x86/System.IO.Compression.dll", | ||
| 423 | - "tools/net461-x86/System.IO.FileSystem.DriveInfo.dll", | ||
| 424 | - "tools/net461-x86/System.IO.FileSystem.Primitives.dll", | ||
| 425 | - "tools/net461-x86/System.IO.FileSystem.Watcher.dll", | ||
| 426 | - "tools/net461-x86/System.IO.FileSystem.dll", | ||
| 427 | - "tools/net461-x86/System.IO.IsolatedStorage.dll", | ||
| 428 | - "tools/net461-x86/System.IO.MemoryMappedFiles.dll", | ||
| 429 | - "tools/net461-x86/System.IO.Pipes.dll", | ||
| 430 | - "tools/net461-x86/System.IO.UnmanagedMemoryStream.dll", | ||
| 431 | - "tools/net461-x86/System.IO.dll", | ||
| 432 | - "tools/net461-x86/System.Linq.Expressions.dll", | ||
| 433 | - "tools/net461-x86/System.Linq.Parallel.dll", | ||
| 434 | - "tools/net461-x86/System.Linq.Queryable.dll", | ||
| 435 | - "tools/net461-x86/System.Linq.dll", | ||
| 436 | - "tools/net461-x86/System.Memory.dll", | ||
| 437 | - "tools/net461-x86/System.Net.Http.dll", | ||
| 438 | - "tools/net461-x86/System.Net.NameResolution.dll", | ||
| 439 | - "tools/net461-x86/System.Net.NetworkInformation.dll", | ||
| 440 | - "tools/net461-x86/System.Net.Ping.dll", | ||
| 441 | - "tools/net461-x86/System.Net.Primitives.dll", | ||
| 442 | - "tools/net461-x86/System.Net.Requests.dll", | ||
| 443 | - "tools/net461-x86/System.Net.Security.dll", | ||
| 444 | - "tools/net461-x86/System.Net.Sockets.dll", | ||
| 445 | - "tools/net461-x86/System.Net.WebHeaderCollection.dll", | ||
| 446 | - "tools/net461-x86/System.Net.WebSockets.Client.dll", | ||
| 447 | - "tools/net461-x86/System.Net.WebSockets.dll", | ||
| 448 | - "tools/net461-x86/System.Numerics.Vectors.dll", | ||
| 449 | - "tools/net461-x86/System.ObjectModel.dll", | ||
| 450 | - "tools/net461-x86/System.Reflection.Extensions.dll", | ||
| 451 | - "tools/net461-x86/System.Reflection.Primitives.dll", | ||
| 452 | - "tools/net461-x86/System.Reflection.dll", | ||
| 453 | - "tools/net461-x86/System.Resources.Reader.dll", | ||
| 454 | - "tools/net461-x86/System.Resources.ResourceManager.dll", | ||
| 455 | - "tools/net461-x86/System.Resources.Writer.dll", | ||
| 456 | - "tools/net461-x86/System.Runtime.CompilerServices.Unsafe.dll", | ||
| 457 | - "tools/net461-x86/System.Runtime.CompilerServices.VisualC.dll", | ||
| 458 | - "tools/net461-x86/System.Runtime.Extensions.dll", | ||
| 459 | - "tools/net461-x86/System.Runtime.Handles.dll", | ||
| 460 | - "tools/net461-x86/System.Runtime.InteropServices.RuntimeInformation.dll", | ||
| 461 | - "tools/net461-x86/System.Runtime.InteropServices.dll", | ||
| 462 | - "tools/net461-x86/System.Runtime.Numerics.dll", | ||
| 463 | - "tools/net461-x86/System.Runtime.Serialization.Formatters.dll", | ||
| 464 | - "tools/net461-x86/System.Runtime.Serialization.Json.dll", | ||
| 465 | - "tools/net461-x86/System.Runtime.Serialization.Primitives.dll", | ||
| 466 | - "tools/net461-x86/System.Runtime.Serialization.Xml.dll", | ||
| 467 | - "tools/net461-x86/System.Runtime.dll", | ||
| 468 | - "tools/net461-x86/System.Security.Claims.dll", | ||
| 469 | - "tools/net461-x86/System.Security.Cryptography.Algorithms.dll", | ||
| 470 | - "tools/net461-x86/System.Security.Cryptography.Csp.dll", | ||
| 471 | - "tools/net461-x86/System.Security.Cryptography.Encoding.dll", | ||
| 472 | - "tools/net461-x86/System.Security.Cryptography.Primitives.dll", | ||
| 473 | - "tools/net461-x86/System.Security.Cryptography.X509Certificates.dll", | ||
| 474 | - "tools/net461-x86/System.Security.Principal.dll", | ||
| 475 | - "tools/net461-x86/System.Security.SecureString.dll", | ||
| 476 | - "tools/net461-x86/System.Text.Encoding.Extensions.dll", | ||
| 477 | - "tools/net461-x86/System.Text.Encoding.dll", | ||
| 478 | - "tools/net461-x86/System.Text.RegularExpressions.dll", | ||
| 479 | - "tools/net461-x86/System.Threading.Overlapped.dll", | ||
| 480 | - "tools/net461-x86/System.Threading.Tasks.Parallel.dll", | ||
| 481 | - "tools/net461-x86/System.Threading.Tasks.dll", | ||
| 482 | - "tools/net461-x86/System.Threading.Thread.dll", | ||
| 483 | - "tools/net461-x86/System.Threading.ThreadPool.dll", | ||
| 484 | - "tools/net461-x86/System.Threading.Timer.dll", | ||
| 485 | - "tools/net461-x86/System.Threading.dll", | ||
| 486 | - "tools/net461-x86/System.ValueTuple.dll", | ||
| 487 | - "tools/net461-x86/System.Xml.ReaderWriter.dll", | ||
| 488 | - "tools/net461-x86/System.Xml.XDocument.dll", | ||
| 489 | - "tools/net461-x86/System.Xml.XPath.XDocument.dll", | ||
| 490 | - "tools/net461-x86/System.Xml.XPath.dll", | ||
| 491 | - "tools/net461-x86/System.Xml.XmlDocument.dll", | ||
| 492 | - "tools/net461-x86/System.Xml.XmlSerializer.dll", | ||
| 493 | - "tools/net461-x86/netstandard.dll", | ||
| 494 | - "tools/net461/GetDocument.Insider.exe", | ||
| 495 | - "tools/net461/GetDocument.Insider.exe.config", | ||
| 496 | - "tools/net461/Microsoft.Win32.Primitives.dll", | ||
| 497 | - "tools/net461/System.AppContext.dll", | ||
| 498 | - "tools/net461/System.Buffers.dll", | ||
| 499 | - "tools/net461/System.Collections.Concurrent.dll", | ||
| 500 | - "tools/net461/System.Collections.NonGeneric.dll", | ||
| 501 | - "tools/net461/System.Collections.Specialized.dll", | ||
| 502 | - "tools/net461/System.Collections.dll", | ||
| 503 | - "tools/net461/System.ComponentModel.EventBasedAsync.dll", | ||
| 504 | - "tools/net461/System.ComponentModel.Primitives.dll", | ||
| 505 | - "tools/net461/System.ComponentModel.TypeConverter.dll", | ||
| 506 | - "tools/net461/System.ComponentModel.dll", | ||
| 507 | - "tools/net461/System.Console.dll", | ||
| 508 | - "tools/net461/System.Data.Common.dll", | ||
| 509 | - "tools/net461/System.Diagnostics.Contracts.dll", | ||
| 510 | - "tools/net461/System.Diagnostics.Debug.dll", | ||
| 511 | - "tools/net461/System.Diagnostics.DiagnosticSource.dll", | ||
| 512 | - "tools/net461/System.Diagnostics.FileVersionInfo.dll", | ||
| 513 | - "tools/net461/System.Diagnostics.Process.dll", | ||
| 514 | - "tools/net461/System.Diagnostics.StackTrace.dll", | ||
| 515 | - "tools/net461/System.Diagnostics.TextWriterTraceListener.dll", | ||
| 516 | - "tools/net461/System.Diagnostics.Tools.dll", | ||
| 517 | - "tools/net461/System.Diagnostics.TraceSource.dll", | ||
| 518 | - "tools/net461/System.Diagnostics.Tracing.dll", | ||
| 519 | - "tools/net461/System.Drawing.Primitives.dll", | ||
| 520 | - "tools/net461/System.Dynamic.Runtime.dll", | ||
| 521 | - "tools/net461/System.Globalization.Calendars.dll", | ||
| 522 | - "tools/net461/System.Globalization.Extensions.dll", | ||
| 523 | - "tools/net461/System.Globalization.dll", | ||
| 524 | - "tools/net461/System.IO.Compression.ZipFile.dll", | ||
| 525 | - "tools/net461/System.IO.Compression.dll", | ||
| 526 | - "tools/net461/System.IO.FileSystem.DriveInfo.dll", | ||
| 527 | - "tools/net461/System.IO.FileSystem.Primitives.dll", | ||
| 528 | - "tools/net461/System.IO.FileSystem.Watcher.dll", | ||
| 529 | - "tools/net461/System.IO.FileSystem.dll", | ||
| 530 | - "tools/net461/System.IO.IsolatedStorage.dll", | ||
| 531 | - "tools/net461/System.IO.MemoryMappedFiles.dll", | ||
| 532 | - "tools/net461/System.IO.Pipes.dll", | ||
| 533 | - "tools/net461/System.IO.UnmanagedMemoryStream.dll", | ||
| 534 | - "tools/net461/System.IO.dll", | ||
| 535 | - "tools/net461/System.Linq.Expressions.dll", | ||
| 536 | - "tools/net461/System.Linq.Parallel.dll", | ||
| 537 | - "tools/net461/System.Linq.Queryable.dll", | ||
| 538 | - "tools/net461/System.Linq.dll", | ||
| 539 | - "tools/net461/System.Memory.dll", | ||
| 540 | - "tools/net461/System.Net.Http.dll", | ||
| 541 | - "tools/net461/System.Net.NameResolution.dll", | ||
| 542 | - "tools/net461/System.Net.NetworkInformation.dll", | ||
| 543 | - "tools/net461/System.Net.Ping.dll", | ||
| 544 | - "tools/net461/System.Net.Primitives.dll", | ||
| 545 | - "tools/net461/System.Net.Requests.dll", | ||
| 546 | - "tools/net461/System.Net.Security.dll", | ||
| 547 | - "tools/net461/System.Net.Sockets.dll", | ||
| 548 | - "tools/net461/System.Net.WebHeaderCollection.dll", | ||
| 549 | - "tools/net461/System.Net.WebSockets.Client.dll", | ||
| 550 | - "tools/net461/System.Net.WebSockets.dll", | ||
| 551 | - "tools/net461/System.Numerics.Vectors.dll", | ||
| 552 | - "tools/net461/System.ObjectModel.dll", | ||
| 553 | - "tools/net461/System.Reflection.Extensions.dll", | ||
| 554 | - "tools/net461/System.Reflection.Primitives.dll", | ||
| 555 | - "tools/net461/System.Reflection.dll", | ||
| 556 | - "tools/net461/System.Resources.Reader.dll", | ||
| 557 | - "tools/net461/System.Resources.ResourceManager.dll", | ||
| 558 | - "tools/net461/System.Resources.Writer.dll", | ||
| 559 | - "tools/net461/System.Runtime.CompilerServices.Unsafe.dll", | ||
| 560 | - "tools/net461/System.Runtime.CompilerServices.VisualC.dll", | ||
| 561 | - "tools/net461/System.Runtime.Extensions.dll", | ||
| 562 | - "tools/net461/System.Runtime.Handles.dll", | ||
| 563 | - "tools/net461/System.Runtime.InteropServices.RuntimeInformation.dll", | ||
| 564 | - "tools/net461/System.Runtime.InteropServices.dll", | ||
| 565 | - "tools/net461/System.Runtime.Numerics.dll", | ||
| 566 | - "tools/net461/System.Runtime.Serialization.Formatters.dll", | ||
| 567 | - "tools/net461/System.Runtime.Serialization.Json.dll", | ||
| 568 | - "tools/net461/System.Runtime.Serialization.Primitives.dll", | ||
| 569 | - "tools/net461/System.Runtime.Serialization.Xml.dll", | ||
| 570 | - "tools/net461/System.Runtime.dll", | ||
| 571 | - "tools/net461/System.Security.Claims.dll", | ||
| 572 | - "tools/net461/System.Security.Cryptography.Algorithms.dll", | ||
| 573 | - "tools/net461/System.Security.Cryptography.Csp.dll", | ||
| 574 | - "tools/net461/System.Security.Cryptography.Encoding.dll", | ||
| 575 | - "tools/net461/System.Security.Cryptography.Primitives.dll", | ||
| 576 | - "tools/net461/System.Security.Cryptography.X509Certificates.dll", | ||
| 577 | - "tools/net461/System.Security.Principal.dll", | ||
| 578 | - "tools/net461/System.Security.SecureString.dll", | ||
| 579 | - "tools/net461/System.Text.Encoding.Extensions.dll", | ||
| 580 | - "tools/net461/System.Text.Encoding.dll", | ||
| 581 | - "tools/net461/System.Text.RegularExpressions.dll", | ||
| 582 | - "tools/net461/System.Threading.Overlapped.dll", | ||
| 583 | - "tools/net461/System.Threading.Tasks.Parallel.dll", | ||
| 584 | - "tools/net461/System.Threading.Tasks.dll", | ||
| 585 | - "tools/net461/System.Threading.Thread.dll", | ||
| 586 | - "tools/net461/System.Threading.ThreadPool.dll", | ||
| 587 | - "tools/net461/System.Threading.Timer.dll", | ||
| 588 | - "tools/net461/System.Threading.dll", | ||
| 589 | - "tools/net461/System.ValueTuple.dll", | ||
| 590 | - "tools/net461/System.Xml.ReaderWriter.dll", | ||
| 591 | - "tools/net461/System.Xml.XDocument.dll", | ||
| 592 | - "tools/net461/System.Xml.XPath.XDocument.dll", | ||
| 593 | - "tools/net461/System.Xml.XPath.dll", | ||
| 594 | - "tools/net461/System.Xml.XmlDocument.dll", | ||
| 595 | - "tools/net461/System.Xml.XmlSerializer.dll", | ||
| 596 | - "tools/net461/netstandard.dll", | ||
| 597 | - "tools/netcoreapp2.1/GetDocument.Insider.deps.json", | ||
| 598 | - "tools/netcoreapp2.1/GetDocument.Insider.dll", | ||
| 599 | - "tools/netcoreapp2.1/GetDocument.Insider.runtimeconfig.json", | ||
| 600 | - "tools/netcoreapp2.1/System.Diagnostics.DiagnosticSource.dll" | ||
| 601 | - ] | ||
| 602 | - }, | ||
| 603 | - "Microsoft.Extensions.DependencyInjection/8.0.0": { | ||
| 604 | - "sha512": "V8S3bsm50ig6JSyrbcJJ8bW2b9QLGouz+G1miK3UTaOWmMtFwNNNzUf4AleyDWUmTrWMLNnFSLEQtxmxgNQnNQ==", | ||
| 605 | - "type": "package", | ||
| 606 | - "path": "microsoft.extensions.dependencyinjection/8.0.0", | ||
| 607 | - "files": [ | ||
| 608 | - ".nupkg.metadata", | ||
| 609 | - ".signature.p7s", | ||
| 610 | - "Icon.png", | ||
| 611 | - "LICENSE.TXT", | ||
| 612 | - "PACKAGE.md", | ||
| 613 | - "THIRD-PARTY-NOTICES.TXT", | ||
| 614 | - "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.targets", | ||
| 615 | - "buildTransitive/net462/_._", | ||
| 616 | - "buildTransitive/net6.0/_._", | ||
| 617 | - "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", | ||
| 618 | - "lib/net462/Microsoft.Extensions.DependencyInjection.dll", | ||
| 619 | - "lib/net462/Microsoft.Extensions.DependencyInjection.xml", | ||
| 620 | - "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll", | ||
| 621 | - "lib/net6.0/Microsoft.Extensions.DependencyInjection.xml", | ||
| 622 | - "lib/net7.0/Microsoft.Extensions.DependencyInjection.dll", | ||
| 623 | - "lib/net7.0/Microsoft.Extensions.DependencyInjection.xml", | ||
| 624 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll", | ||
| 625 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.xml", | ||
| 626 | - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", | ||
| 627 | - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", | ||
| 628 | - "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", | ||
| 629 | - "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", | ||
| 630 | - "microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512", | ||
| 631 | - "microsoft.extensions.dependencyinjection.nuspec", | ||
| 632 | - "useSharedDesignerContext.txt" | ||
| 633 | - ] | ||
| 634 | - }, | ||
| 635 | - "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": { | ||
| 636 | - "sha512": "cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==", | ||
| 637 | - "type": "package", | ||
| 638 | - "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0", | ||
| 639 | - "files": [ | ||
| 640 | - ".nupkg.metadata", | ||
| 641 | - ".signature.p7s", | ||
| 642 | - "Icon.png", | ||
| 643 | - "LICENSE.TXT", | ||
| 644 | - "PACKAGE.md", | ||
| 645 | - "THIRD-PARTY-NOTICES.TXT", | ||
| 646 | - "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", | ||
| 647 | - "buildTransitive/net462/_._", | ||
| 648 | - "buildTransitive/net6.0/_._", | ||
| 649 | - "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", | ||
| 650 | - "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", | ||
| 651 | - "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", | ||
| 652 | - "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", | ||
| 653 | - "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", | ||
| 654 | - "lib/net7.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", | ||
| 655 | - "lib/net7.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", | ||
| 656 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", | ||
| 657 | - "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", | ||
| 658 | - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", | ||
| 659 | - "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", | ||
| 660 | - "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", | ||
| 661 | - "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", | ||
| 662 | - "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512", | ||
| 663 | - "microsoft.extensions.dependencyinjection.abstractions.nuspec", | ||
| 664 | - "useSharedDesignerContext.txt" | ||
| 665 | - ] | ||
| 666 | - }, | ||
| 667 | - "Microsoft.OpenApi/1.2.3": { | ||
| 668 | - "sha512": "Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", | ||
| 669 | - "type": "package", | ||
| 670 | - "path": "microsoft.openapi/1.2.3", | ||
| 671 | - "files": [ | ||
| 672 | - ".nupkg.metadata", | ||
| 673 | - ".signature.p7s", | ||
| 674 | - "lib/net46/Microsoft.OpenApi.dll", | ||
| 675 | - "lib/net46/Microsoft.OpenApi.pdb", | ||
| 676 | - "lib/net46/Microsoft.OpenApi.xml", | ||
| 677 | - "lib/netstandard2.0/Microsoft.OpenApi.dll", | ||
| 678 | - "lib/netstandard2.0/Microsoft.OpenApi.pdb", | ||
| 679 | - "lib/netstandard2.0/Microsoft.OpenApi.xml", | ||
| 680 | - "microsoft.openapi.1.2.3.nupkg.sha512", | ||
| 681 | - "microsoft.openapi.nuspec" | ||
| 682 | - ] | ||
| 683 | - }, | ||
| 684 | - "Stub.System.Data.SQLite.Core.NetStandard/1.0.115.5": { | ||
| 685 | - "sha512": "WfrqQg6WL+r4H1sVKTenNj6ERLXUukUxqcjH1rqPqXadeIWccTVpydESieD7cZ/NWQVSKLYIHuoBX5du+BFhIQ==", | ||
| 686 | - "type": "package", | ||
| 687 | - "path": "stub.system.data.sqlite.core.netstandard/1.0.115.5", | ||
| 688 | - "files": [ | ||
| 689 | - ".nupkg.metadata", | ||
| 690 | - ".signature.p7s", | ||
| 691 | - "lib/netstandard2.0/System.Data.SQLite.dll", | ||
| 692 | - "lib/netstandard2.0/System.Data.SQLite.dll.altconfig", | ||
| 693 | - "lib/netstandard2.0/System.Data.SQLite.xml", | ||
| 694 | - "lib/netstandard2.1/System.Data.SQLite.dll", | ||
| 695 | - "lib/netstandard2.1/System.Data.SQLite.dll.altconfig", | ||
| 696 | - "lib/netstandard2.1/System.Data.SQLite.xml", | ||
| 697 | - "runtimes/linux-x64/native/SQLite.Interop.dll", | ||
| 698 | - "runtimes/osx-x64/native/SQLite.Interop.dll", | ||
| 699 | - "runtimes/win-x64/native/SQLite.Interop.dll", | ||
| 700 | - "runtimes/win-x86/native/SQLite.Interop.dll", | ||
| 701 | - "stub.system.data.sqlite.core.netstandard.1.0.115.5.nupkg.sha512", | ||
| 702 | - "stub.system.data.sqlite.core.netstandard.nuspec" | ||
| 703 | - ] | ||
| 704 | - }, | ||
| 705 | - "Swashbuckle.AspNetCore/6.4.0": { | ||
| 706 | - "sha512": "eUBr4TW0up6oKDA5Xwkul289uqSMgY0xGN4pnbOIBqCcN9VKGGaPvHX3vWaG/hvocfGDP+MGzMA0bBBKz2fkmQ==", | ||
| 707 | - "type": "package", | ||
| 708 | - "path": "swashbuckle.aspnetcore/6.4.0", | ||
| 709 | - "files": [ | ||
| 710 | - ".nupkg.metadata", | ||
| 711 | - ".signature.p7s", | ||
| 712 | - "build/Swashbuckle.AspNetCore.props", | ||
| 713 | - "swashbuckle.aspnetcore.6.4.0.nupkg.sha512", | ||
| 714 | - "swashbuckle.aspnetcore.nuspec" | ||
| 715 | - ] | ||
| 716 | - }, | ||
| 717 | - "Swashbuckle.AspNetCore.Swagger/6.4.0": { | ||
| 718 | - "sha512": "nl4SBgGM+cmthUcpwO/w1lUjevdDHAqRvfUoe4Xp/Uvuzt9mzGUwyFCqa3ODBAcZYBiFoKvrYwz0rabslJvSmQ==", | ||
| 719 | - "type": "package", | ||
| 720 | - "path": "swashbuckle.aspnetcore.swagger/6.4.0", | ||
| 721 | - "files": [ | ||
| 722 | - ".nupkg.metadata", | ||
| 723 | - ".signature.p7s", | ||
| 724 | - "lib/net5.0/Swashbuckle.AspNetCore.Swagger.dll", | ||
| 725 | - "lib/net5.0/Swashbuckle.AspNetCore.Swagger.pdb", | ||
| 726 | - "lib/net5.0/Swashbuckle.AspNetCore.Swagger.xml", | ||
| 727 | - "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll", | ||
| 728 | - "lib/net6.0/Swashbuckle.AspNetCore.Swagger.pdb", | ||
| 729 | - "lib/net6.0/Swashbuckle.AspNetCore.Swagger.xml", | ||
| 730 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll", | ||
| 731 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.pdb", | ||
| 732 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.xml", | ||
| 733 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.dll", | ||
| 734 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.pdb", | ||
| 735 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.xml", | ||
| 736 | - "swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512", | ||
| 737 | - "swashbuckle.aspnetcore.swagger.nuspec" | ||
| 738 | - ] | ||
| 739 | - }, | ||
| 740 | - "Swashbuckle.AspNetCore.SwaggerGen/6.4.0": { | ||
| 741 | - "sha512": "lXhcUBVqKrPFAQF7e/ZeDfb5PMgE8n5t6L5B6/BQSpiwxgHzmBcx8Msu42zLYFTvR5PIqE9Q9lZvSQAcwCxJjw==", | ||
| 742 | - "type": "package", | ||
| 743 | - "path": "swashbuckle.aspnetcore.swaggergen/6.4.0", | ||
| 744 | - "files": [ | ||
| 745 | - ".nupkg.metadata", | ||
| 746 | - ".signature.p7s", | ||
| 747 | - "lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.dll", | ||
| 748 | - "lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", | ||
| 749 | - "lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.xml", | ||
| 750 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll", | ||
| 751 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", | ||
| 752 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.xml", | ||
| 753 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll", | ||
| 754 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", | ||
| 755 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.xml", | ||
| 756 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.dll", | ||
| 757 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", | ||
| 758 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.xml", | ||
| 759 | - "swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512", | ||
| 760 | - "swashbuckle.aspnetcore.swaggergen.nuspec" | ||
| 761 | - ] | ||
| 762 | - }, | ||
| 763 | - "Swashbuckle.AspNetCore.SwaggerUI/6.4.0": { | ||
| 764 | - "sha512": "1Hh3atb3pi8c+v7n4/3N80Jj8RvLOXgWxzix6w3OZhB7zBGRwsy7FWr4e3hwgPweSBpwfElqj4V4nkjYabH9nQ==", | ||
| 765 | - "type": "package", | ||
| 766 | - "path": "swashbuckle.aspnetcore.swaggerui/6.4.0", | ||
| 767 | - "files": [ | ||
| 768 | - ".nupkg.metadata", | ||
| 769 | - ".signature.p7s", | ||
| 770 | - "lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.dll", | ||
| 771 | - "lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", | ||
| 772 | - "lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.xml", | ||
| 773 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll", | ||
| 774 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", | ||
| 775 | - "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.xml", | ||
| 776 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll", | ||
| 777 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", | ||
| 778 | - "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.xml", | ||
| 779 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.dll", | ||
| 780 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", | ||
| 781 | - "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.xml", | ||
| 782 | - "swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512", | ||
| 783 | - "swashbuckle.aspnetcore.swaggerui.nuspec" | ||
| 784 | - ] | ||
| 785 | - }, | ||
| 786 | - "System.Data.SQLite.Core/1.0.115.5": { | ||
| 787 | - "sha512": "vADIqqgpxaC5xR6qOV8/KMZkQeSDCfmmWpVOtQx0oEr3Yjq2XdTxX7+jfE4+oO2xPovAbYiz6Q5cLRbSsDkq6Q==", | ||
| 788 | - "type": "package", | ||
| 789 | - "path": "system.data.sqlite.core/1.0.115.5", | ||
| 790 | - "files": [ | ||
| 791 | - ".nupkg.metadata", | ||
| 792 | - ".signature.p7s", | ||
| 793 | - "system.data.sqlite.core.1.0.115.5.nupkg.sha512", | ||
| 794 | - "system.data.sqlite.core.nuspec" | ||
| 795 | - ] | ||
| 796 | - } | ||
| 797 | - }, | ||
| 798 | - "projectFileDependencyGroups": { | ||
| 799 | - "net8.0": [ | ||
| 800 | - "FreeSql >= 3.2.821", | ||
| 801 | - "FreeSql.Provider.Sqlite >= 3.2.821", | ||
| 802 | - "FreeSql.Repository >= 3.2.821", | ||
| 803 | - "Swashbuckle.AspNetCore >= 6.4.0" | ||
| 804 | - ] | ||
| 805 | - }, | ||
| 806 | - "packageFolders": { | ||
| 807 | - "C:\\Users\\anan\\.nuget\\packages\\": {}, | ||
| 808 | - "C:\\Users\\anan\\AppData\\Roaming\\Godot\\mono\\GodotNuGetFallbackFolder": {}, | ||
| 809 | - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} | ||
| 810 | - }, | ||
| 811 | - "project": { | ||
| 812 | - "version": "1.0.0", | ||
| 813 | - "restore": { | ||
| 814 | - "projectUniqueName": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj", | ||
| 815 | - "projectName": "Blueprint.Net.Server", | ||
| 816 | - "projectPath": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj", | ||
| 817 | - "packagesPath": "C:\\Users\\anan\\.nuget\\packages\\", | ||
| 818 | - "outputPath": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\obj\\", | ||
| 819 | - "projectStyle": "PackageReference", | ||
| 820 | - "fallbackFolders": [ | ||
| 821 | - "C:\\Users\\anan\\AppData\\Roaming\\Godot\\mono\\GodotNuGetFallbackFolder", | ||
| 822 | - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" | ||
| 823 | - ], | ||
| 824 | - "configFilePaths": [ | ||
| 825 | - "C:\\Users\\anan\\AppData\\Roaming\\NuGet\\NuGet.Config", | ||
| 826 | - "C:\\Users\\anan\\AppData\\Roaming\\NuGet\\config\\Godot.Offline.Config", | ||
| 827 | - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", | ||
| 828 | - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" | ||
| 829 | - ], | ||
| 830 | - "originalTargetFrameworks": [ | ||
| 831 | - "net8.0" | ||
| 832 | - ], | ||
| 833 | - "sources": { | ||
| 834 | - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, | ||
| 835 | - "C:\\Program Files\\dotnet\\library-packs": {}, | ||
| 836 | - "https://api.nuget.org/v3/index.json": {} | ||
| 837 | - }, | ||
| 838 | - "frameworks": { | ||
| 839 | - "net8.0": { | ||
| 840 | - "targetAlias": "net8.0", | ||
| 841 | - "projectReferences": {} | ||
| 842 | - } | ||
| 843 | - }, | ||
| 844 | - "warningProperties": { | ||
| 845 | - "warnAsError": [ | ||
| 846 | - "NU1605" | ||
| 847 | - ] | ||
| 848 | - }, | ||
| 849 | - "restoreAuditProperties": { | ||
| 850 | - "enableAudit": "true", | ||
| 851 | - "auditLevel": "low", | ||
| 852 | - "auditMode": "direct" | ||
| 853 | - } | ||
| 854 | - }, | ||
| 855 | - "frameworks": { | ||
| 856 | - "net8.0": { | ||
| 857 | - "targetAlias": "net8.0", | ||
| 858 | - "dependencies": { | ||
| 859 | - "FreeSql": { | ||
| 860 | - "target": "Package", | ||
| 861 | - "version": "[3.2.821, )" | ||
| 862 | - }, | ||
| 863 | - "FreeSql.Provider.Sqlite": { | ||
| 864 | - "target": "Package", | ||
| 865 | - "version": "[3.2.821, )" | ||
| 866 | - }, | ||
| 867 | - "FreeSql.Repository": { | ||
| 868 | - "target": "Package", | ||
| 869 | - "version": "[3.2.821, )" | ||
| 870 | - }, | ||
| 871 | - "Swashbuckle.AspNetCore": { | ||
| 872 | - "target": "Package", | ||
| 873 | - "version": "[6.4.0, )" | ||
| 874 | - } | ||
| 875 | - }, | ||
| 876 | - "imports": [ | ||
| 877 | - "net461", | ||
| 878 | - "net462", | ||
| 879 | - "net47", | ||
| 880 | - "net471", | ||
| 881 | - "net472", | ||
| 882 | - "net48", | ||
| 883 | - "net481" | ||
| 884 | - ], | ||
| 885 | - "assetTargetFallback": true, | ||
| 886 | - "warn": true, | ||
| 887 | - "frameworkReferences": { | ||
| 888 | - "Microsoft.AspNetCore.App": { | ||
| 889 | - "privateAssets": "none" | ||
| 890 | - }, | ||
| 891 | - "Microsoft.NETCore.App": { | ||
| 892 | - "privateAssets": "all" | ||
| 893 | - } | ||
| 894 | - }, | ||
| 895 | - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.201/PortableRuntimeIdentifierGraph.json" | ||
| 896 | - } | ||
| 897 | - } | ||
| 898 | - } | ||
| 899 | -} | ||
| 900 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/obj/project.nuget.cache deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "version": 2, | ||
| 3 | - "dgSpecHash": "DA7OQW1R/bNe9e6/SrjHTvIq5zA0jn0hwqi81cixrmZ4iGKP5aTwTMcL2WpK4pbrz1wFsABnWSUlUdTKp7LCLw==", | ||
| 4 | - "success": true, | ||
| 5 | - "projectFilePath": "E:\\Code\\Blueprint\\Blueprint.Net.Server\\Blueprint.Net.Server.csproj", | ||
| 6 | - "expectedPackageFiles": [ | ||
| 7 | - "C:\\Users\\anan\\.nuget\\packages\\freesql\\3.2.821\\freesql.3.2.821.nupkg.sha512", | ||
| 8 | - "C:\\Users\\anan\\.nuget\\packages\\freesql.dbcontext\\3.2.821\\freesql.dbcontext.3.2.821.nupkg.sha512", | ||
| 9 | - "C:\\Users\\anan\\.nuget\\packages\\freesql.provider.sqlite\\3.2.821\\freesql.provider.sqlite.3.2.821.nupkg.sha512", | ||
| 10 | - "C:\\Users\\anan\\.nuget\\packages\\freesql.repository\\3.2.821\\freesql.repository.3.2.821.nupkg.sha512", | ||
| 11 | - "C:\\Users\\anan\\.nuget\\packages\\microsoft.extensions.apidescription.server\\6.0.5\\microsoft.extensions.apidescription.server.6.0.5.nupkg.sha512", | ||
| 12 | - "C:\\Users\\anan\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\8.0.0\\microsoft.extensions.dependencyinjection.8.0.0.nupkg.sha512", | ||
| 13 | - "C:\\Users\\anan\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512", | ||
| 14 | - "C:\\Users\\anan\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512", | ||
| 15 | - "C:\\Users\\anan\\.nuget\\packages\\stub.system.data.sqlite.core.netstandard\\1.0.115.5\\stub.system.data.sqlite.core.netstandard.1.0.115.5.nupkg.sha512", | ||
| 16 | - "C:\\Users\\anan\\.nuget\\packages\\swashbuckle.aspnetcore\\6.4.0\\swashbuckle.aspnetcore.6.4.0.nupkg.sha512", | ||
| 17 | - "C:\\Users\\anan\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.4.0\\swashbuckle.aspnetcore.swagger.6.4.0.nupkg.sha512", | ||
| 18 | - "C:\\Users\\anan\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.4.0\\swashbuckle.aspnetcore.swaggergen.6.4.0.nupkg.sha512", | ||
| 19 | - "C:\\Users\\anan\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.4.0\\swashbuckle.aspnetcore.swaggerui.6.4.0.nupkg.sha512", | ||
| 20 | - "C:\\Users\\anan\\.nuget\\packages\\system.data.sqlite.core\\1.0.115.5\\system.data.sqlite.core.1.0.115.5.nupkg.sha512" | ||
| 21 | - ], | ||
| 22 | - "logs": [] | ||
| 23 | -} | ||
| 24 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/pages/zndd_yuan/Blueprint.Net.Server/wwwroot/carddesign.html deleted
100644 → 0
| 1 | -<!DOCTYPE html> | ||
| 2 | -<html lang="en"> | ||
| 3 | -<head> | ||
| 4 | - <meta charset="UTF-8"> | ||
| 5 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 6 | - <title>Card Editor</title> | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - <style> | ||
| 11 | - body { | ||
| 12 | - font-family: Arial, sans-serif; | ||
| 13 | - } | ||
| 14 | - | ||
| 15 | - .container { | ||
| 16 | - max-width: 800px; | ||
| 17 | - margin: auto; | ||
| 18 | - padding: 20px; | ||
| 19 | - } | ||
| 20 | - | ||
| 21 | - .json-output { | ||
| 22 | - background-color: #f4f4f4; | ||
| 23 | - border: 1px solid #ddd; | ||
| 24 | - padding: 10px; | ||
| 25 | - margin-top: 20px; | ||
| 26 | - } | ||
| 27 | - | ||
| 28 | - input, select, button { | ||
| 29 | - padding: 8px; | ||
| 30 | - margin-top: 5px; | ||
| 31 | - width: 100%; | ||
| 32 | - } | ||
| 33 | - | ||
| 34 | - button { | ||
| 35 | - cursor: pointer; | ||
| 36 | - } | ||
| 37 | - | ||
| 38 | - svg { | ||
| 39 | - background-color: #333; | ||
| 40 | - border: 1px solid #ccc; | ||
| 41 | - padding: 30px; | ||
| 42 | - } | ||
| 43 | - </style> | ||
| 44 | -</head> | ||
| 45 | -<body> | ||
| 46 | - <div class="container"> | ||
| 47 | - <h1>Card Editor</h1> | ||
| 48 | - <form id="cardForm"> | ||
| 49 | - <label for="id">Card ID:</label> | ||
| 50 | - <input type="text" id="id" name="id" required> | ||
| 51 | - | ||
| 52 | - <label for="label">Label:</label> | ||
| 53 | - <input type="text" id="label" name="label" required> | ||
| 54 | - | ||
| 55 | - <label for="type">Type:</label> | ||
| 56 | - <input type="text" id="type" name="type" required> | ||
| 57 | - | ||
| 58 | - <label for="titleBarColor">Title Bar Color (comma-separated):</label> | ||
| 59 | - <input type="text" id="titleBarColor" name="titleBarColor" required> | ||
| 60 | - | ||
| 61 | - <h3>Nodes</h3> | ||
| 62 | - <div id="nodesContainer"> | ||
| 63 | - <!-- Node inputs will be added here --> | ||
| 64 | - </div> | ||
| 65 | - <button type="button" onclick="addNode()">Add Node</button> | ||
| 66 | - <button type="submit">Update Card JSON</button> | ||
| 67 | - </form> | ||
| 68 | - | ||
| 69 | - <div class="json-output" id="jsonOutput"></div> | ||
| 70 | - | ||
| 71 | - <!-- SVG container for drawing the card --> | ||
| 72 | - <svg id="svgContainer" width="200" height="300"></svg> | ||
| 73 | - </div> | ||
| 74 | - | ||
| 75 | - <script type="text/javascript"> | ||
| 76 | - var card = { | ||
| 77 | - id: 'card0', | ||
| 78 | - x: 0, | ||
| 79 | - y: 0, | ||
| 80 | - label: 'Start', | ||
| 81 | - type: "start", | ||
| 82 | - nodes: [{ | ||
| 83 | - type: "out", | ||
| 84 | - level: 0, | ||
| 85 | - label: 'call', | ||
| 86 | - enumType: 'call', | ||
| 87 | - color: '#fff', | ||
| 88 | - multiConnected: 1 | ||
| 89 | - }], | ||
| 90 | - titleBarColor: ['#84fab0', '#8fd3f4'] | ||
| 91 | - }; | ||
| 92 | - | ||
| 93 | - function updateForm() { | ||
| 94 | - document.getElementById('id').value = card.id; | ||
| 95 | - document.getElementById('label').value = card.label; | ||
| 96 | - document.getElementById('type').value = card.type; | ||
| 97 | - document.getElementById('titleBarColor').value = card.titleBarColor.join(', '); | ||
| 98 | - | ||
| 99 | - const nodesContainer = document.getElementById('nodesContainer'); | ||
| 100 | - nodesContainer.innerHTML = ''; | ||
| 101 | - card.nodes.forEach((node, index) => { | ||
| 102 | - addNode(node, index); | ||
| 103 | - }); | ||
| 104 | - } | ||
| 105 | - | ||
| 106 | - function addNode(node = {}, index = card.nodes.length) { | ||
| 107 | - const container = document.createElement('div'); | ||
| 108 | - container.innerHTML = ` | ||
| 109 | - <label>Node ${index + 1}</label> | ||
| 110 | - <select name="nodeType-${index}"> | ||
| 111 | - <option value="in" ${node.type === 'in' ? 'selected' : ''}>In</option> | ||
| 112 | - <option value="out" ${node.type === 'out' ? 'selected' : ''}>Out</option> | ||
| 113 | - </select> | ||
| 114 | - <input type="number" placeholder="Level" value="${node.level || 0}" name="nodeLevel-${index}"> | ||
| 115 | - <input type="text" placeholder="Enum Type" value="${node.enumType || ''}" name="nodeEnumType-${index}"> | ||
| 116 | - <input type="text" placeholder="Label" value="${node.label || ''}" name="nodeLabel-${index}"> | ||
| 117 | - <input type="text" placeholder="Color" value="${node.color || ''}" name="nodeColor-${index}"> | ||
| 118 | - <input type="number" placeholder="Multi Connected" value="${node.multiConnected || 0}" name="nodeMultiConnected-${index}"> | ||
| 119 | - <button type="button" onclick="removeNode(${index})">Remove Node</button> | ||
| 120 | - `; | ||
| 121 | - document.getElementById('nodesContainer').appendChild(container); | ||
| 122 | - } | ||
| 123 | - | ||
| 124 | - function removeNode(index) { | ||
| 125 | - card.nodes.splice(index, 1); | ||
| 126 | - updateForm(); // Refresh the form and JSON output | ||
| 127 | - drawCard(); | ||
| 128 | - } | ||
| 129 | - | ||
| 130 | - document.getElementById('cardForm').onsubmit = function (event) { | ||
| 131 | - event.preventDefault(); | ||
| 132 | - card.id = document.getElementById('id').value; | ||
| 133 | - card.label = document.getElementById('label').value; | ||
| 134 | - card.type = document.getElementById('type').value; | ||
| 135 | - card.titleBarColor = document.getElementById('titleBarColor').value.split(',').map(color => color.trim()); | ||
| 136 | - | ||
| 137 | - card.nodes = []; | ||
| 138 | - const nodes = document.querySelectorAll('#nodesContainer > div'); | ||
| 139 | - nodes.forEach((node, index) => { | ||
| 140 | - card.nodes.push({ | ||
| 141 | - type: document.querySelector(`[name="nodeType-${index}"]`).value, | ||
| 142 | - level: parseInt(document.querySelector(`[name="nodeLevel-${index}"]`).value), | ||
| 143 | - enumType: document.querySelector(`[name="nodeEnumType-${index}"]`).value, | ||
| 144 | - label: document.querySelector(`[name="nodeLabel-${index}"]`).value, | ||
| 145 | - color: document.querySelector(`[name="nodeColor-${index}"]`).value, | ||
| 146 | - multiConnected: parseInt(document.querySelector(`[name="nodeMultiConnected-${index}"]`).value) | ||
| 147 | - }); | ||
| 148 | - }); | ||
| 149 | - | ||
| 150 | - updateJSONOutput(); | ||
| 151 | - drawCard(); | ||
| 152 | - }; | ||
| 153 | - | ||
| 154 | - function updateJSONOutput() { | ||
| 155 | - document.getElementById('jsonOutput').textContent = JSON.stringify(card, null, 2); | ||
| 156 | - } | ||
| 157 | - | ||
| 158 | - function drawCard() { | ||
| 159 | - const cardsContainer = document.getElementById('svgContainer'); | ||
| 160 | - cardsContainer.innerHTML = ''; // 清除现有的卡片 | ||
| 161 | - | ||
| 162 | - //创建标题栏渐变色 | ||
| 163 | - const defs = document.createElementNS('http://www.w3.org/2000/svg', 'defs'); | ||
| 164 | - const linearGradient = document.createElementNS('http://www.w3.org/2000/svg', 'linearGradient'); | ||
| 165 | - linearGradient.setAttribute('id', `titleGradient-${card.id}`); | ||
| 166 | - linearGradient.setAttribute('x1', '0%'); // 渐变起点的x坐标 | ||
| 167 | - linearGradient.setAttribute('y1', '100%'); // 渐变起点的y坐标 | ||
| 168 | - linearGradient.setAttribute('x2', '100%'); // 渐变终点的x坐标 | ||
| 169 | - linearGradient.setAttribute('y2', '0%'); // 渐变终点的y坐标 | ||
| 170 | - | ||
| 171 | - const stop1 = document.createElementNS('http://www.w3.org/2000/svg', 'stop'); | ||
| 172 | - stop1.setAttribute('offset', '10%'); | ||
| 173 | - stop1.setAttribute('style', `stop-color: ${card.titleBarColor[0]}; stop-opacity: 1`); | ||
| 174 | - linearGradient.appendChild(stop1); | ||
| 175 | - | ||
| 176 | - const stop2 = document.createElementNS('http://www.w3.org/2000/svg', 'stop'); | ||
| 177 | - stop2.setAttribute('offset', '100%'); | ||
| 178 | - stop2.setAttribute('style', `stop-color: ${card.titleBarColor[1]}; stop-opacity: 1`); | ||
| 179 | - linearGradient.appendChild(stop2); | ||
| 180 | - | ||
| 181 | - defs.appendChild(linearGradient); | ||
| 182 | - cardsContainer.appendChild(defs); | ||
| 183 | - | ||
| 184 | - | ||
| 185 | - | ||
| 186 | - const nodeSpacing = 50; | ||
| 187 | - const topBottomPadding = 20; | ||
| 188 | - const titleBarHeight = 30; // 标题栏高度 | ||
| 189 | - const maxLevel = Math.max(...card.nodes.map(node => node.level)) + 1; | ||
| 190 | - const cardHeight = maxLevel * nodeSpacing + topBottomPadding * 2 + titleBarHeight; | ||
| 191 | - | ||
| 192 | - const group = document.createElementNS('http://www.w3.org/2000/svg', 'g'); | ||
| 193 | - group.setAttribute('class', 'draggable card-container'); | ||
| 194 | - group.setAttribute('data-id', card.id); | ||
| 195 | - group.setAttribute('user-select', 'none'); | ||
| 196 | - group.setAttribute('transform', `translate(${card.x},${card.y})`); | ||
| 197 | - | ||
| 198 | - const rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect'); | ||
| 199 | - rect.setAttribute('fill', '#222'); | ||
| 200 | - rect.setAttribute('width', 150); | ||
| 201 | - rect.setAttribute('style', 'cursor: auto;'); | ||
| 202 | - rect.setAttribute('height', cardHeight); | ||
| 203 | - rect.setAttribute('rx', 10); // 圆角 | ||
| 204 | - rect.setAttribute('ry', 10); | ||
| 205 | - group.appendChild(rect); | ||
| 206 | - | ||
| 207 | - // 使用path绘制带有指定圆角的矩形 | ||
| 208 | - // 创建标题栏 | ||
| 209 | - const titleBarWidth = 150; | ||
| 210 | - const borderRadius = 10; // 圆角大小 | ||
| 211 | - const titleBar = document.createElementNS('http://www.w3.org/2000/svg', 'path'); | ||
| 212 | - const dValue = `M 0,${borderRadius} | ||
| 213 | - a ${borderRadius},${borderRadius} 0 0 1 ${borderRadius},-${borderRadius} | ||
| 214 | - h ${titleBarWidth - borderRadius * 2} | ||
| 215 | - a ${borderRadius},${borderRadius} 0 0 1 ${borderRadius},${borderRadius} | ||
| 216 | - v ${titleBarHeight - borderRadius} | ||
| 217 | - h -${titleBarWidth} | ||
| 218 | - z`; | ||
| 219 | - titleBar.setAttribute('class', 'card'); | ||
| 220 | - titleBar.setAttribute('d', dValue); | ||
| 221 | - titleBar.setAttribute('fill', `url(#titleGradient-${card.id})`); | ||
| 222 | - group.appendChild(titleBar); | ||
| 223 | - | ||
| 224 | - const text = document.createElementNS('http://www.w3.org/2000/svg', 'text'); | ||
| 225 | - text.setAttribute('x', titleBarWidth / 2); | ||
| 226 | - text.setAttribute('y', titleBarHeight / 2); | ||
| 227 | - text.setAttribute('text-anchor', 'middle'); | ||
| 228 | - text.setAttribute('alignment-baseline', 'middle'); | ||
| 229 | - text.textContent = card.label; | ||
| 230 | - group.appendChild(text); | ||
| 231 | - | ||
| 232 | - card.nodes.forEach((node, index) => { | ||
| 233 | - | ||
| 234 | - | ||
| 235 | - const circle = document.createElementNS('http://www.w3.org/2000/svg', 'circle'); | ||
| 236 | - circle.setAttribute('class', 'node'); | ||
| 237 | - circle.setAttribute('cx', node.type === 'in' ? 0 : 150); | ||
| 238 | - circle.setAttribute('cy', topBottomPadding + titleBarHeight + (node.level + 1) * | ||
| 239 | - nodeSpacing - (nodeSpacing / 2)); | ||
| 240 | - circle.setAttribute('r', 7); | ||
| 241 | - circle.setAttribute('fill', node.color); | ||
| 242 | - circle.setAttribute('data-card-id', card.id); | ||
| 243 | - circle.setAttribute('data-node-id', `${card.id}-node${index + 1}`); | ||
| 244 | - group.appendChild(circle); | ||
| 245 | - | ||
| 246 | - let labelX = node.type === 'in' ? 12 : 138; // 基本的X坐标 | ||
| 247 | - const labelY = topBottomPadding + titleBarHeight + node.level * nodeSpacing + 21; | ||
| 248 | - | ||
| 249 | - // 创建SVG文本元素 | ||
| 250 | - const multiConnectedLabel = document.createElementNS('http://www.w3.org/2000/svg', | ||
| 251 | - 'text'); | ||
| 252 | - multiConnectedLabel.setAttribute('x', labelX); | ||
| 253 | - multiConnectedLabel.setAttribute('y', labelY); | ||
| 254 | - multiConnectedLabel.setAttribute('text-anchor', 'middle'); | ||
| 255 | - multiConnectedLabel.setAttribute('fill', '#aaa'); | ||
| 256 | - multiConnectedLabel.setAttribute('style', 'font-size: 8px;'); | ||
| 257 | - multiConnectedLabel.setAttribute('alignment-baseline', 'hanging'); | ||
| 258 | - | ||
| 259 | - | ||
| 260 | - // 计算文本的宽度(假定的,因为SVG没有直接获取文本宽度的方法) | ||
| 261 | - let estimatedTextLength; | ||
| 262 | - if (node.multiConnected == undefined) { | ||
| 263 | - estimatedTextLength = 20 | ||
| 264 | - multiConnectedLabel.textContent = 'N'; | ||
| 265 | - } else { | ||
| 266 | - estimatedTextLength = node.multiConnected.length; | ||
| 267 | - multiConnectedLabel.textContent = node.multiConnected; | ||
| 268 | - } | ||
| 269 | - | ||
| 270 | - // 确保文本不会超出卡片右边界 | ||
| 271 | - if (labelX + estimatedTextLength / 2 > 150) { | ||
| 272 | - labelX = 150 - estimatedTextLength / 2; | ||
| 273 | - nodeLabel.setAttribute('x', labelX); | ||
| 274 | - } | ||
| 275 | - | ||
| 276 | - // 确保文本不会超出卡片左边界 | ||
| 277 | - if (labelX - estimatedTextLength / 2 < 0) { | ||
| 278 | - labelX = estimatedTextLength / 2; | ||
| 279 | - nodeLabel.setAttribute('x', labelX); | ||
| 280 | - } | ||
| 281 | - | ||
| 282 | - group.appendChild(multiConnectedLabel); | ||
| 283 | - | ||
| 284 | - if (node.label != undefined) { | ||
| 285 | - // 计算文本标签的位置 | ||
| 286 | - let labelX = node.type === 'in' ? 15 : 135; // 基本的X坐标 | ||
| 287 | - const labelY = topBottomPadding + titleBarHeight + node.level * nodeSpacing + 40; | ||
| 288 | - | ||
| 289 | - // 创建SVG文本元素 | ||
| 290 | - const nodeLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text'); | ||
| 291 | - nodeLabel.setAttribute('x', labelX); | ||
| 292 | - nodeLabel.setAttribute('y', labelY); // 在节点下方留出一定空间 | ||
| 293 | - nodeLabel.setAttribute('text-anchor', 'middle'); // 文本居中对齐 | ||
| 294 | - nodeLabel.setAttribute('fill', '#aaa'); // 文本居中对齐 | ||
| 295 | - nodeLabel.setAttribute('alignment-baseline', 'hanging'); | ||
| 296 | - nodeLabel.textContent = node.label; | ||
| 297 | - | ||
| 298 | - // 计算文本的宽度(假定的,因为SVG没有直接获取文本宽度的方法) | ||
| 299 | - const estimatedTextLength = node.label.length * 10; // 估算每个字符6像素宽 | ||
| 300 | - | ||
| 301 | - // 确保文本不会超出卡片右边界 | ||
| 302 | - if (labelX + estimatedTextLength / 2 > 150) { | ||
| 303 | - labelX = 150 - estimatedTextLength / 2; | ||
| 304 | - nodeLabel.setAttribute('x', labelX); | ||
| 305 | - } | ||
| 306 | - | ||
| 307 | - // 确保文本不会超出卡片左边界 | ||
| 308 | - if (labelX - estimatedTextLength / 2 < 0) { | ||
| 309 | - labelX = estimatedTextLength / 2; | ||
| 310 | - nodeLabel.setAttribute('x', labelX); | ||
| 311 | - } | ||
| 312 | - | ||
| 313 | - group.appendChild(nodeLabel); | ||
| 314 | - | ||
| 315 | - } | ||
| 316 | - | ||
| 317 | - switch (node.slot) { | ||
| 318 | - case 'input': | ||
| 319 | - const foreignObject = document.createElementNS('http://www.w3.org/2000/svg', | ||
| 320 | - 'foreignObject'); | ||
| 321 | - foreignObject.setAttribute('x', 0); | ||
| 322 | - foreignObject.setAttribute('y', topBottomPadding + titleBarHeight + node.level * | ||
| 323 | - nodeSpacing + 12); | ||
| 324 | - foreignObject.setAttribute('width', 130); // 保持原始宽度 | ||
| 325 | - foreignObject.setAttribute('height', nodeSpacing - 24); // 保持原始高度,减去的24像素为上下内边距之和 | ||
| 326 | - const input = document.createElement('input'); | ||
| 327 | - input.type = 'text'; | ||
| 328 | - if (node.value == undefined) { | ||
| 329 | - node.value = ''; | ||
| 330 | - } | ||
| 331 | - input.value = node.value; | ||
| 332 | - input.addEventListener('input', function () { | ||
| 333 | - node.value = input.value; | ||
| 334 | - }); | ||
| 335 | - // Set adjusted input styles | ||
| 336 | - input.style.width = '110px'; | ||
| 337 | - input.style.height = '100%'; | ||
| 338 | - input.style.marginLeft = '20px'; | ||
| 339 | - input.style.borderRadius = '5px'; | ||
| 340 | - input.style.border = '1px solid white'; | ||
| 341 | - input.style.backgroundColor = '#222'; | ||
| 342 | - input.style.color = 'white'; | ||
| 343 | - input.style.fontSize = '1em'; | ||
| 344 | - input.style.padding = '0px'; // 可能需要调整或去除内边距以适应固定尺寸 | ||
| 345 | - input.style.boxSizing = 'border-box'; // 确保宽高包含内容、内边距和边框 | ||
| 346 | - | ||
| 347 | - // Change border color on focus and blur | ||
| 348 | - input.addEventListener('focus', () => { | ||
| 349 | - input.style.outline = 'none'; // Remove default focus outline | ||
| 350 | - input.style.borderColor = | ||
| 351 | - 'white'; // Keep border color white on focus | ||
| 352 | - }); | ||
| 353 | - | ||
| 354 | - input.addEventListener('blur', () => { | ||
| 355 | - input.style.borderColor = | ||
| 356 | - 'white'; // Revert to white when not focused | ||
| 357 | - }); | ||
| 358 | - | ||
| 359 | - // 阻止事件冒泡 | ||
| 360 | - input.addEventListener('click', function (event) { | ||
| 361 | - event.stopPropagation(); | ||
| 362 | - }); | ||
| 363 | - | ||
| 364 | - input.addEventListener('mousedown', function (event) { | ||
| 365 | - event.stopPropagation(); | ||
| 366 | - }); | ||
| 367 | - | ||
| 368 | - input.addEventListener('touchstart', function (event) { | ||
| 369 | - event.stopPropagation(); | ||
| 370 | - }); | ||
| 371 | - | ||
| 372 | - foreignObject.appendChild(input); | ||
| 373 | - group.appendChild(foreignObject); | ||
| 374 | - break; | ||
| 375 | - } | ||
| 376 | - | ||
| 377 | - | ||
| 378 | - | ||
| 379 | - }); | ||
| 380 | - | ||
| 381 | - const deleteIcon = document.createElementNS('http://www.w3.org/2000/svg', 'rect'); | ||
| 382 | - deleteIcon.setAttribute('class', 'card-delete-icon'); | ||
| 383 | - deleteIcon.setAttribute('x', 125); | ||
| 384 | - deleteIcon.setAttribute('y', 5); // 使其贴近标题栏的右上角 | ||
| 385 | - deleteIcon.setAttribute('width', 20); | ||
| 386 | - deleteIcon.setAttribute('height', 20); | ||
| 387 | - deleteIcon.setAttribute('fill', 'transparent'); | ||
| 388 | - deleteIcon.setAttribute('data-card-id', card.id); | ||
| 389 | - deleteIcon.setAttribute('style', 'cursor: pointer;'); | ||
| 390 | - group.appendChild(de,eIcon); | ||
| 391 | - | ||
| 392 | - const delText = document.createElementNS('http://www.w3.org/2000/svg', 'text'); | ||
| 393 | - delText.setAttribute('x', 135); | ||
| 394 | - delText.setAttribute('y', 20); // 调整位置以垂直居中 | ||
| 395 | - delText.setAttribute('text-anchor', 'middle'); | ||
| 396 | - delText.setAttribute('fill', 'white'); | ||
| 397 | - delText.setAttribute('font-size', '16px'); // 适当调整字体大小以适应图标 | ||
| 398 | - delText.setAttribute('pointer-events', 'none'); // 确保点击事件只触发于删除图标上 | ||
| 399 | - delText.textContent = '×'; | ||
| 400 | - group.appendChild(delText); | ||
| 401 | - | ||
| 402 | - cardsContainer.appendChild(group); | ||
| 403 | - | ||
| 404 | - attachNodeEventListeners(); | ||
| 405 | - } | ||
| 406 | - | ||
| 407 | - | ||
| 408 | - | ||
| 409 | - | ||
| 410 | - | ||
| 411 | - updateForm(); | ||
| 412 | - updateJSONOutput(); | ||
| 413 | - drawCard(); | ||
| 414 | - </script> | ||
| 415 | -</body> | ||
| 416 | -</html> |