分享
  • 收藏
  • 举报
    X
    @admin 代金券本地测试PC版能用非通用券,WAP不能用非通用券
    259
    4

    @admin 代金券本地测试PC版能用非通用券,WAP确定是不能用非通用券,

                扯蛋的是,网站上现在连PC端连通用券也不显示了,将本地测试没问题的默认程序和模版传上去,

                在提交订单时也不显示能用的通用券和非通用券

                一个非通用券都折腾几个月都没解决,这了太扯了


    {volist name="$money_array" id="money" key="shop_uid"}
    {php} $array=fun('Coupon@get_list',1,$money,3); echo $array; {/php}
    
    <!--非通用券处理开始-->
    {php}
    foreach($listdb[$shop_uid] AS $rs){
    	if($rs['coupon_tag']&&$_array=fun('Coupon@get_list',$userdb['uid'],fun('shop@get_price',$rs,$rs['_car_']['type1']-1),$shop_uid,$rs['coupon_tag']))$array=$array?array_merge($array,$_array):$_array;
    }
    {/php}
    <!--非通用券处理结束-->
    	{if $array}
    		<dl> 
    			<dd>
    			    <div style="color:red;margin:10px;">商家:{:get_user_name($shop_uid)} 派发的可用代金券如下,请选择</div>
    				{volist name="$array" id="rs"}
    					<input type="radio" name="cid[{$rs.shop_uid}]" value="{$rs.id}">面额:{$rs.quan_money} 元 , 累计满{$rs.min_money}元可用【{$rs.coupon_tag?'非通用券':'通用券'}】<br>
    				{/volist}
    			</dd>
    		</dl>
    	{/if}
    {/volist}

    这段代码在本地测试有效,能显示可用代金券,在网站上不显示可用代金券

    1
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 4
    • admin 超级管理员 消费:3.04元 2020-06-07 09:21 09:216楼
      其它人一起看看是否存在此问题.

      你是说本机没问题,服务器重装优惠券还有问题吗?
      aria 消费:2460.49元 2020-06-07 10:37
      重装了优惠券,也不行,PC端连通用的优惠券也不显示,WAP端只显示通用优惠券
    0 赏钱 赏礼回复
    • admin 超级管理员 消费:3.04元 2020-06-07 09:22 09:226楼
      服务器重新发一些优惠券.再试是否正常.还不行的话,私信发资料过来看看.FTP与后台都需要
    0 赏钱 赏礼回复
    • aria 普通粉丝 消费:2460.49元 2020-06-06 17:57 17:576楼
      @admin 代金券模块重新安装了也不行,商城又不能导出数据,不能重新安装商城
    0 赏钱 赏礼回复
    更多回复
        你可能感兴趣的主题
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648