From 19457dcfaa442601881a3400de865f29307ccd51 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 18 Aug 2022 14:22:12 +0800 Subject: [PATCH] no message --- src/skin/js/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/skin/js/custom.js b/src/skin/js/custom.js index 8f6e139..8a11ec3 100644 --- a/src/skin/js/custom.js +++ b/src/skin/js/custom.js @@ -269,10 +269,10 @@ $(window).load(function() { }) $('#tp-submit').click(function(){ - var form = {name: $("#name").val(), mobile: $("#mobile").val(), msg: $("#msg").val()} + var form = {name: $("#name").val(), mobile: $("#mobile").val(), content: $("#msg").val()} $.ajax({ type: "post", - url: "https://api-client-yyt.qniao.cn/printing-packaging-factory-service/user/register/promote", + url: "https://api-client-yyt.qniao.cn/printing-packaging-factory-service/user/create/online-consultation", headers: { 'X-APP-ID': '503258978847966407', 'Content-Type': 'application/json' }, data:JSON.stringify(form), contentType: "application/json", //推荐写这个