查看:
1197
|
回复:
1
|
二维码模板管理功能里面,一不小心把新版官方模板删了,如何恢复
|
|
1#
电梯直达
一时手贱,照着删除普通模板的操作,按照selectTemplateByCustomerId(https://www.jlc.com/api/newOrder/trace/template/selectTemplateByCustomerId)里面给出的traceProduceTemplateKeyId和traceViewKeyId,把新版官方模板(不可删除)给删了,请问现在应该如何恢复? 删除的请求:
fetch("https://www.jlc.com/api/newOrder/trace/template/deleteTemplate", { "headers": { "accept": "application/json, text/plain, */*", "accept-language": "zh-CN,zh;q=0.9", "content-type": "application/json", "eagleeye-pappname": ********, "eagleeye-sessionid": ********, "eagleeye-traceid": ********, "sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"", "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": "\"Windows\"", "sec-fetch-dest": "empty", "sec-fetch-mode": "cors", "sec-fetch-site": "same-origin", "secretkey": **********************************************, "x-xsrf-token": "9c301425-0406-4ad0-8397-4b55daa10dd2" }, "referrer": "https://www.jlc.com/newOrder/", "referrerPolicy": "strict-origin-when-cross-origin", "body": "{\"traceProduceTemplateKeyId\":\"261099232077037569\",\"traceViewKeyId\":\"261099232077037570\",\"traceViewType\":1}", "method": "POST", "mode": "cors", "credentials": "include" });本来以为后端会对标记(不可删除)的做校验,没想到回车之后官方模板就直接没了......
因为过于信任后端,搞事之前也没备份,现在官方模板就像消失了一样,还能恢复回来吗
|
|