Commit 2dff1a96 authored by zhouyx's avatar zhouyx

咨询服务发送钉钉消息。

parent ad74750a
This diff is collapsed.
......@@ -13,7 +13,7 @@ const Config = {
/**
* @description: 默认接口地址
*/
// apiBaseUrl: "http://localhost:6066",
// apiBaseUrl: "http://localhost:6006",
apiBaseUrl: "http://47.92.102.113:6006",
// apiBaseUrl: "http://154.8.185.122:8002",
timeout: 30000, // 请求超时时间
......
......@@ -308,9 +308,9 @@
placeholder="请填写您的邮箱"
></Input>
</FormItem>
<FormItem label="留言" prop="ly">
<FormItem label="留言" prop="note">
<Input
v-model.trim="entity.ly"
v-model.trim="entity.note"
type="textarea"
placeholder="请填写您想对我们说的"
></Input>
......@@ -443,6 +443,7 @@ export default {
email: "",
note: "",
type: "",
come:"",
},
screenY: 0,
rules: {
......@@ -597,7 +598,8 @@ export default {
sendMessage() {
this.$refs.form.validate((v) => {
if (v) {
this.$api.post("/message/create", this.entity).then((r) => {
this.entity.come=window.location.href;
this.$api.post("/message/ding", this.entity).then((r) => {
if (r.success) {
// console.log(r);
this.$Message.success("留言成功!");
......
This diff is collapsed.
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