一、该问题的重现步骤是什么?
通过下面的这个请求,postman怎么添加角色数据,并保存?
================ Request Start ================
===> POST: /desk/projectmanager/submit
====Body===== {"id":null,"projectname":"多多","mainid":1123598821738675201,"main":"1123598821738675201","viceid":1123598821738675203,"vice":"1123598821738675203","risk":"w","deadline":"2021-05-14T09:16:53.000Z","feelline":"3"}
===Headers=== sec-fetch-mode: cors
===Headers=== referer: http://localhost:1888/
===Headers=== content-length: 245
===Headers=== sec-fetch-site: same-origin
===Headers=== blade-auth: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJkZXRhaWwiOnsidHlwZSI6IndlYiJ9LCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTYyMDk4NTU1MSwibmJmIjoxNjIwOTgxOTUxfQ.dEyablbO7MlVdWQVE9eSjaMXbKfeoCwNgVpOD9r7ZavwYpPoeueiSaa16AAlQI2HzHT46fA6uHk0xERRN-JaJg
===Headers=== cookie: Webstorm-a327319a=fa239cad-a2aa-47fa-9b73-4ccd0b4bd083; _ga=GA1.1.1413714226.1617356461; Idea-8296e771=4d3f10ae-8b56-4211-b8a0-64a0bc09b9ef; saber-access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJyb2xlX25hbWUiOiJhZG1pbmlzdHJhdG9yIiwicG9zdF9pZCI6IjExMjM1OTg4MTc3Mzg2NzUyMDEiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInJvbGVfaWQiOiIxMTIzNTk4ODE2NzM4Njc1MjAxIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJuaWNrX25hbWUiOiLnrqHnkIblkZgiLCJkZXRhaWwiOnsidHlwZSI6IndlYiJ9LCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiZGVwdF9pZCI6IjExMjM1OTg4MTM3Mzg2NzUyMDEiLCJhY2NvdW50IjoiYWRtaW4iLCJjbGllbnRfaWQiOiJzYWJlciIsImV4cCI6MTYyMDk4NTU1MSwibmJmIjoxNjIwOTgxOTUxfQ.dEyablbO7MlVdWQVE9eSjaMXbKfeoCwNgVpOD9r7ZavwYpPoeueiSaa16AAlQI2HzHT46fA6uHk0xERRN-JaJg; saber-refresh-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpc3MiOiJpc3N1c2VyIiwiYXVkIjoiYXVkaWVuY2UiLCJ1c2VyX2lkIjoiMTEyMzU5ODgyMTczODY3NTIwMSIsInRva2VuX3R5cGUiOiJyZWZyZXNoX3Rva2VuIiwiY2xpZW50X2lkIjoic2FiZXIiLCJleHAiOjE2MjE1ODY3NTEsIm5iZiI6MTYyMDk4MTk1MX0.MAOk6UWrCb2Xoj6w-cA87EpGmZif204nn8krKTzJRyhkq57Z0OuMUXEHiQYrrNFhd93a-IFB8jiAjo7X7M2wMg
===Headers=== accept-language: zh-CN,zh;q=0.9
===Headers=== x-forwarded-proto: http
===Headers=== origin: http://localhost:1888
===Headers=== x-forwarded-port: 1888
===Headers=== x-forwarded-for: 127.0.0.1
===Headers=== accept: application/json, text/plain, */*
===Headers=== authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0
===Headers=== sec-ch-ua: "Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"
===Headers=== sec-ch-ua-mobile: ?0
===Headers=== x-forwarded-host: localhost:1888
===Headers=== host: 192.168.0.135:8089
===Headers=== connection: close
===Headers=== content-type: application/json;charset=UTF-8
===Headers=== accept-encoding: gzip, deflate, br
===Headers=== user-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
===Headers=== sec-fetch-dest: empty
================ Request End ================
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端