| 12345678910111213141516171819202122 |
- import http from '../plugins/http';
- // 需求管家自动回复
- function adminAutoReply(userId) {
- return http.http.post('/user/getAdmin').then(res => {
- return http.http.post(
- '/message/save',
- {
- sendUserId: res,
- receiveUserId: userId,
- content: '管家已收到您的消息,稍后会有专人与您联系,请您保持手机畅通哦!'
- },
- {
- header: {
- 'Content-Type': 'application/json'
- }
- }
- );
- });
- }
- export { adminAutoReply };
|