歡迎來到安信科技官方網(wǎng)站!【www.boomerlogic.com】
      18112005550
      工作時間: 8:30-21:30
      新聞中心
      News Center

      【解決方案】安信商城限時間段、訂單限量的解決方案代碼

      資訊分類: 二次開發(fā)  瀏覽: 2015年11月25日

       <%

      dim jintianDay : jintianDay=date()
      dim Time11 : Time11=anxinMall.db("select count(*) from [anxinMall_dingdan] where addtime between #"&jintianDay&" 11:00:00# and #"&jintianDay&" 11:59:59#;",2)(0)
      dim Time12 : Time12=anxinMall.db("select count(*) from [anxinMall_dingdan] where addtime between #"&jintianDay&" 12:00:00# and #"&jintianDay&" 12:59:59#;",2)(0)
      dim Time13 : Time13=anxinMall.db("select count(*) from [anxinMall_dingdan] where addtime between #"&jintianDay&" 13:00:00# and #"&jintianDay&" 13:59:59#;",2)(0)
      dim Time14 : Time14=anxinMall.db("select count(*) from [anxinMall_dingdan] where addtime between #"&jintianDay&" 14:00:00# and #"&jintianDay&" 14:59:59#;",2)(0)
       
      if Time11>40 then call anxinMall.alert("每天11點至12點之間的訂單已經(jīng)超限量,請到12點以后再下單!","back")
      if Time12>40 then call anxinMall.alert("每天12點至13點之間的訂單已經(jīng)超限量,請到13點以后再下單!","back")
      if Time13>40 then call anxinMall.alert("每天13點至14點之間的訂單已經(jīng)超限量,請到14點以后再下單!","back")
      if Time14>40 then call anxinMall.alert("每天14點至15點之間的訂單已經(jīng)超限量,請到15點以后再下單!","back")
       
      %>
      Copyright © 2007-2022 安信科技(十五周年紀(jì)念版) All Rights Reserved  備案號:蘇ICP備15047094號-3 
      網(wǎng)站首頁 |  新聞資訊 |  服務(wù)項目 |  軟件產(chǎn)品 |  試用下載 |  需求提交 |  模版建站 |  關(guān)于安信 |  產(chǎn)品授權(quán) |  聯(lián)系我們 |  定制開發(fā) | 
      服務(wù)熱線:181-1200-5550  客服QQ: 120094883  | 郵箱:120094883#qq.com(#改@)