Commit 23b09baa authored by xinzhedeai's avatar xinzhedeai

fix: 中台post接口修改,msgflag修改

parent a6712e09
......@@ -219,9 +219,9 @@ window.onload = function () {
}
http2.post({
serviceId: API_KEY_MAP["no-page"]['id'],
interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"],
serviceId: API_KEY_MAP["submit"]['id'],
interfacePublicKey: API_KEY_MAP["submit"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["submit"]["privateKey"],
reqParams
}, (res) => {
if (!res) { // 中台返回为undefined 重新请求
......
......@@ -61,7 +61,7 @@
{{ item.description }}
<!-- 新增:未读标记 -->
<span
v-show="!item.msgFlag"
v-show="item.msgFlag"
style="
position: absolute;
top: 50%;
......
......@@ -60,11 +60,11 @@ window.addEventListener('load', function () {
markAllAsRead() { // 全部标记为已读
http2.post(
{
serviceId: API_KEY_MAP['no-page']['id'],
interfacePublicKey: API_KEY_MAP['no-page']['publicKey'],
interfacePrivateKey: API_KEY_MAP['no-page']['privateKey'],
serviceId: API_KEY_MAP['submit']['id'],
interfacePublicKey: API_KEY_MAP['submit']['publicKey'],
interfacePrivateKey: API_KEY_MAP['submit']['privateKey'],
reqParams: {
sign: 25, // 隐患tab
sign: 25, // post 设置已读
merId: this.merId,
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment