Skip to content

Commit 55dd217

Browse files
authored
Merge pull request #176 from icey-yu/feat-app
Feat app
2 parents d12dcc7 + 3bae574 commit 55dd217

File tree

4 files changed

+356
-306
lines changed

4 files changed

+356
-306
lines changed

constant/constant.go

+1
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ const (
298298
AppOrdinaryUsers = 1
299299
AppAdmin = 2
300300
AppNotificationAdmin = 3
301+
AppRobotAdmin = 4
301302

302303
GroupOwner = 100
303304
GroupAdmin = 60

gen.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for %%i in (%PROTO_NAMES%) do (
2626

2727
rem Replace "omitempty" in *.pb.go files with UTF-8 encoding
2828
for /r %%f in (*.pb.go) do (
29-
powershell -Command "(Get-Content -Path '%%f' -Encoding UTF8) -replace ',omitempty\"`"', '\"`"' | Set-Content -Path '%%f' -Encoding UTF8"
29+
powershell -Command "(Get-Content -Path '%%f' -Encoding UTF8) -replace ',omitempty', '' | Set-Content -Path '%%f' -Encoding UTF8"
3030
)
3131

3232
endlocal

0 commit comments

Comments
 (0)