隐藏字符

隐藏字符前台:varplayrule=[];//varplayrule="";$('input[name="playrule1"]').each(function(){//playrule=String.fromCharCo

大家好,欢迎来到IT知识分享网。隐藏字符

前台: var playrule = [];
        //var playrule = “”;        
        $(‘input[name=”playrule1″]’).each(function () {
            //playrule = String.fromCharCode($(this).val());
            //playrule = $(this).val();
            //alert(stringObject.concat($(this).val()));
            //playrule = stringObject.concat($(this).val());
            playrule.push($(this).val());
            //playrule += $(this).val() + “,”;
        });
        var useType = $(‘input[name=”useType”]:checked’).val();
        var cType = $(‘input[name=”cType”]:checked’).val();
        var imageUrl = $(‘#imageUrl’).attr(‘imgnull’);
        var themeimg = $(‘#themeimg’).attr(‘imgnull’);
        var qrcodeurl = $(‘#qrcodeurl’).attr(‘imgnull’);
        var qrcodeurl1 = $(‘#QRCodeUrl1’).attr(‘imgnull’);
        var playcodeurl = $(‘#yulanimg’).attr(‘imgnull’);
        if ($rootScope.loginInfo.isGroup == 1) {
            $scope.coupontypelist.restruantid = 0;
        }
        var url_branchinfo = “/api/v1/Coupons/addwechatinfo?HID=” + $rootScope.loginInfo.hid + “&couponTypeID=” + $(‘#couponTypeID’).val() + “&resid=” + $scope.coupontypelist.restruantid + “&couponName=” + $(‘#couponName’).val() + “&useType=” + useType + “&cType=” + cType + “&discount=” + $(‘#discount’).val() + “&deductibleMoney=” + $(‘#deductibleMoney’).val() + “&LowAmountLimit=” + $(‘#LowAmountLimit’).val() + “&num1=” + $(‘#num1’).val() + “&descrips=” + descstr + “&isOnlineUse=” + isOnlineUse + “&isTogether=” + isTogether + “&imageUrl=” + imageUrl + “&sendType=204” + “&validDate=” + $(‘#validDate’).val() + “&PlayID=” + $(‘#PlayID’).val() + “&PlayType=204” + “&Title=” + $(‘#title’).val() + “&SubTitle=” + “&ThemeImg=” + themeimg + “&Content=” + $(‘#content’).val() + “&StartTime=” + starttime + “&EndTime=” + endtime + “&CreateTime=” + new Date().format(‘yyyy-MM-dd’) + “&couponTypeID=” + $(‘#couponTypeID’).val() + “&PlayRule=” + playrule.join(String.fromCharCode(26)) + “&QRCodName=” + $(‘#qrcodename’).val() + “&QRCodeUrl=” + qrcodeurl + “&QRCodName1=” + $(‘#QRCodName1’).val() + “&QRCodeUrl1=” + qrcodeurl1 + “&PlayCodeUrl=” + playcodeurl + “&MinOrderAmount=” + $(‘#minorderamount’).val() + “&PointValue=0” + “&MType=204” + “&Status=0” + “&Remark=”;

        $http.get(url_branchinfo)
            .success(function (data) {

                if (data.has_val) {
                    alert(“保存成功”);
                    var url = “marketing/shareouponslist”;
                    $location.url(url);
                } else {
                    alert(“保存失败”);
                }
            });

    }

 

后台:string[] arrplayrule = core.PlayRule.Split(new string[] { char.ConvertFromUtf32(26) }, StringSplitOptions.RemoveEmptyEntries);

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/34107.html

(0)

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

关注微信