Giter VIP home page Giter VIP logo

Comments (13)

superlu88 avatar superlu88 commented on July 16, 2024

其它都可以,就是生成垃圾代码不行,希望能尽快给我回复,谢谢。

from klgeneratespamcode.

klaus01 avatar klaus01 commented on July 16, 2024

调用参数发出来。另外是编译执行,还是命令行执行?

from klgeneratespamcode.

superlu88 avatar superlu88 commented on July 16, 2024

-spamCodeOut /Users/pt 1/Desktop/xxxx/xx/xxxx/xxxx/xxxx xwljtexttrashs

from klgeneratespamcode.

superlu88 avatar superlu88 commented on July 16, 2024

是项目编译的

from klgeneratespamcode.

klaus01 avatar klaus01 commented on July 16, 2024

空格需要转义

from klgeneratespamcode.

superlu88 avatar superlu88 commented on July 16, 2024

这个我已经解决了,我现在的问题是用上面的方法生成提示缺少 NewClass 代码函数调用名,是生成垃圾代码的方法有变化吗?

from klgeneratespamcode.

klaus01 avatar klaus01 commented on July 16, 2024

你打个断点看下吧,看下代码中 gNewClassFuncationCallName 取到值是什么?

from klgeneratespamcode.

superlu88 avatar superlu88 commented on July 16, 2024

gNewClassFuncationCallName里面是:第三方,功能方法;
2018-12-20 14 36 33
我之前有看到你在另一个相似的问题中,说是-spamCodeOut有新添加两个参数,但是我这边不知道应该怎么修改,请教!

from klgeneratespamcode.

klaus01 avatar klaus01 commented on July 16, 2024

gNewClassFuncationCallName 就是新增的其中一个参数。

从你的截图来看,是目录中的空格没有转义的原因,第1和3行目录中的空格必需转义,否则会造成参数变多。

from klgeneratespamcode.

klaus01 avatar klaus01 commented on July 16, 2024

另外 -spamCodeOut 的目录最好不是第1行的子目录,可能会造成递归。

from klgeneratespamcode.

superlu88 avatar superlu88 commented on July 16, 2024

我现在使用的-spamCodeOut还只有两个参数,
之前看到你说,生成垃圾代码-spamCodeOut还需要增加两个参数:
-spamCodeOut 垃圾代码文件存放目录 垃圾代码参数名 垃圾代码函数调用名 NewClass代码函数调用名
后面两个要填写什么内容,
希望有一个事例说明:-spamCodeOut /user/xx slkdejfo [垃圾代码函数调用名] [NewClass代码函数调用名]

from klgeneratespamcode.

klaus01 avatar klaus01 commented on July 16, 2024

[垃圾代码函数调用名] [NewClass代码函数调用名]
这两个参数是选填的,可以不用传。如果你要传,随意传个方法名及可。如-spamCodeOut /user/xx slkdejfo fjdksl fdjksla

from klgeneratespamcode.

superlu88 avatar superlu88 commented on July 16, 2024

解决了,必须要加后面两个参数才能成功,谢谢。

from klgeneratespamcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.