Commit 23b09baa authored by xinzhedeai's avatar xinzhedeai

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

parent a6712e09
...@@ -219,9 +219,9 @@ window.onload = function () { ...@@ -219,9 +219,9 @@ window.onload = function () {
} }
http2.post({ http2.post({
serviceId: API_KEY_MAP["no-page"]['id'], serviceId: API_KEY_MAP["submit"]['id'],
interfacePublicKey: API_KEY_MAP["no-page"]["publicKey"], interfacePublicKey: API_KEY_MAP["submit"]["publicKey"],
interfacePrivateKey: API_KEY_MAP["no-page"]["privateKey"], interfacePrivateKey: API_KEY_MAP["submit"]["privateKey"],
reqParams reqParams
}, (res) => { }, (res) => {
if (!res) { // 中台返回为undefined 重新请求 if (!res) { // 中台返回为undefined 重新请求
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
{{ item.description }} {{ item.description }}
<!-- 新增:未读标记 --> <!-- 新增:未读标记 -->
<span <span
v-show="!item.msgFlag" v-show="item.msgFlag"
style=" style="
position: absolute; position: absolute;
top: 50%; top: 50%;
......
...@@ -60,11 +60,11 @@ window.addEventListener('load', function () { ...@@ -60,11 +60,11 @@ window.addEventListener('load', function () {
markAllAsRead() { // 全部标记为已读 markAllAsRead() { // 全部标记为已读
http2.post( http2.post(
{ {
serviceId: API_KEY_MAP['no-page']['id'], serviceId: API_KEY_MAP['submit']['id'],
interfacePublicKey: API_KEY_MAP['no-page']['publicKey'], interfacePublicKey: API_KEY_MAP['submit']['publicKey'],
interfacePrivateKey: API_KEY_MAP['no-page']['privateKey'], interfacePrivateKey: API_KEY_MAP['submit']['privateKey'],
reqParams: { reqParams: {
sign: 25, // 隐患tab sign: 25, // post 设置已读
merId: this.merId, 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