永久免费观看美女裸体的网站,尤物视频在线观看,亚洲人成网站18禁止人,亚洲欧洲日韩综合色天使,亚洲乱妇亚洲乱妇xinglu

企業(yè)微信服務(wù)商
當(dāng)前位置:首頁(yè)文檔模板語(yǔ)法渠道申請(qǐng)語(yǔ)法說(shuō)明
模板引擎介紹

渠道申請(qǐng)語(yǔ)法說(shuō)明

更新時(shí)間:2019-12-10
一、請(qǐng)求地址:
/addchannel.html
二、 提交的字段:
  • 必填: 渠道分類(lèi)(cateid)、渠道范圍(channelid)、組織名稱(chēng)(title)、昵稱(chēng)(nickname)
  • 非必填: 電話(huà)(mobile)、郵箱(email)
注:渠道申請(qǐng)字段暫時(shí)不可自定義添加
使用示例:
<form action="/addchannel.html" method="post"> 
  分類(lèi)ID:<input type="text" name="cateid" placeholder="請(qǐng)輸入分類(lèi)id"><br> 
  渠道范圍ID:<input type="text" name="channelid" placeholder="請(qǐng)輸入渠道范圍id"><br> 
  組織名:<input type="text" name="title" placeholder="請(qǐng)輸入組織名"><br> 
  稱(chēng)呼:<input type="text" name="nickname" placeholder="請(qǐng)輸入稱(chēng)呼"><br> 
  電話(huà):<input type="text" name="mobile" placeholder="請(qǐng)輸入電話(huà)"><br> 
  郵箱:<input type="text" name="email" placeholder="請(qǐng)輸入郵箱地址"><br> 
  <input type="hidden" name="id" value="{{Pageinfo['_id']}}"><br> 
  <input type="hidden" name="moduletype" value="{{globalviewdata['model']}}"><br> 
  <input type="hidden" name="basetype" value="{{globalviewdata['basetype']}}"> 
  <div>
  <label>完成驗(yàn)證:</label> 
  <div class="captcha">
  <div class="text">行為驗(yàn)證™ 安全組件加載中</div> 
  <div class="show  wait"><div class="loading"><div class="loading-dot"></div>          
  <div class="loading-dot"></div>   
  <div class="loading-dot"></div>    
  <div class="loading-dot"></div>       
</div>       
</div>
</div>
</div>
<input type="submit" value="提交"></form>
<script src="http://static.westarcloud.com/test/5c048df6a8497e03aa0665a0/js/jquery1.11.3.min.js"></script>
<script src="https://www.geetest.com/demo/libs/gt.js"></script>
<script>
 function geTest(ele) {
 this.handler = function (captchaObj) {
 captchaObj.appendTo(ele);
 captchaObj.onReady(function () {
 $(".wait").hide();
 });
 $('.send').click(function (e) {
 e.preventDefault();
 let result = captchaObj.getValidate();
 if (!result) {
 return alert('請(qǐng)完成驗(yàn)證');
 };
 });
 window.gt = captchaObj;
 };
 var that=this;
 this.init = function () {
 $.ajax({
 url: "/front/interface/geetest?t=" + (new Date()).getTime(), // 加隨機(jī)數(shù)防止緩存
 type: "get",
 dataType: "json",
 success: function (data) {
 $('.text').hide();
 $('.wait').show();
 initGeetest({
 gt: data.gt,
 challenge: data.challenge,
 offline: !data.success, // 表示用戶(hù)后臺(tái)檢測(cè)極驗(yàn)服務(wù)器是否宕機(jī)
 new_captcha: data.new_captcha, // 用于宕機(jī)時(shí)表示是新驗(yàn)證碼的宕機(jī)
 product: "float", // 產(chǎn)品形式,包括:float,popup
 width: "300px"
 }, that.handler);
 }
 });
 }
 }
new geTest('.captcha').init();
</script>