|
|
|
@ -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", //推荐写这个
|
|
|
|
|