BLL/Tag.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;
using MyShop.DALFactory;
using MyShop.IDAL;
using MyShop.Model;
using MyShop.Enumerations;
using MyShop.Common;
using MyShop.Config;


namespace MyShop.BLL
{

    public class Tag:ITag
    {
        /*  系统通用标签
         *  {$OrderFormID}:订单ID
            {$OrderFormNum}:订单编号
            {$ContacterName}:收货人姓名
            {$OrderInfo}:订单信息
            {$MoneyTotal}:订单总金额
            {$MoneyReceived}:订单已收款
            {$MoneyNeedPay}:需要支付金额
            {$inputTime}:订购时间
            {$UserName}:会员用户名
            {$Address}:收货人地址
            {$ZipCode}:收货人邮编
            {$Mobile}:收货人手机
            {$Phone}:收货人电话
            {$Email}:收货人Email
            {$PaymentType}:付款方式
            {$DeliverType}:送货方式
            {$OrderStatus}:订单状态
            {$PayStatus}:付款情况
            {$DeliverStatus}:物流状态
            {$Charge_Deliver}:运费
            {$PresentMoney}:返还现金券
            {$PresentExp}:赠送积分
            {$Charge_Deliver}:运费
            {$ExpressCompany}:物流公司名称
            {$ExpressNumber}:快递单号
            {$ArticleUploadFiles}:文章频道的上传目录
            {$ShopUploadFiles}:商城频道的上传目录
         * */


        SiteConfigInfo configInfo = SiteConfig.GetConfig();

        /// <summary>
        /// 替换标签,不区分大小写
        /// </summary>
        /// <param name="content">含有标签的内容</param>
        /// <returns>替换后的结果</returns>
        public string Replace(string content)
        {
            content = Common.Replace(content);
            content = Custom.Replace(content);
            return content;
        }
后面还有 179 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。