大家好
我想通过设置脚本监听器来统计某个问题下用户的评论数。我的想法是:设置一个map变量,记录用户评论时的操作者信息,并将变量值赋给text类型的字段。但是不知道该如何优化代码,目前代码如下:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
了解,如果是:
user 1 : 3
user 2: 4
xxx
然后 users 个数不确定的话,那么得想其他办法实现了。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this can be done, I want to make another judgment, when the user has commented before, then numer++, I want the last issue to close, this text field can record the corresponding information like: [test1:3,test2:2,test3:10]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.