222
schangxiang@126.com
2025-04-29 4352ad5cbeef498392178655cb367ee38e574178
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace GenerateCode_GEBrilliantFactory
{
    /// <summary>
    /// VUE方法配置
    /// </summary>
    public class VUE_FunConfig_Generate : BaseGenerate
    {
        /// <summary>
        /// VUE方法配置
        /// </summary>
        /// <param name="Modulelogo">模块简写</param>
        /// <param name="ChinaComment">中文注释</param>
        /// <param name="routePrefix">WCF路由前缀</param>
        /// <returns></returns>
        public static string CreateText(string Modulelogo,
            string ChinaComment, string routePrefix,string entityName)
        {
            var str = TextHelper.ReadText(@"Templete\VUE\VUE方法配置.txt");
            CommonReplace(ref str);
            str = str.Replace("$ChinaComment$", ChinaComment);//中文注释
            str = str.Replace("$Modulelogo$", Modulelogo);//模块简写
            str = str.Replace("$RoutePrefix$", routePrefix);//模块简写
            str = str.Replace("$EntityName$", entityName);//模块简写
 
 
            return str;
        }
    }
}