|
@@ -101,6 +101,7 @@ func Test_MenuMode(t *testing.T) {
|
|
|
name: "工作桌面菜单模式插入",
|
|
|
args: &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
ActionMode: "menuMode",
|
|
@@ -115,6 +116,7 @@ func Test_MenuMode(t *testing.T) {
|
|
|
name: "工作桌面菜单模式异常",
|
|
|
args: &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
ActionMode: "menuMode",
|
|
@@ -129,6 +131,7 @@ func Test_MenuMode(t *testing.T) {
|
|
|
name: "工作桌面菜单模式更新",
|
|
|
args: &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
ActionMode: "menuMode",
|
|
@@ -160,6 +163,7 @@ func Test_WorkMenuMode(t *testing.T) {
|
|
|
name: "获取当前工作桌面菜单模式",
|
|
|
args: &pb.WorkDesktopMenuInfoReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
BigMemberOff: true,
|
|
@@ -172,6 +176,7 @@ func Test_WorkMenuMode(t *testing.T) {
|
|
|
name: "异常获取当前工作桌面菜单模式",
|
|
|
args: &pb.WorkDesktopMenuInfoReq{
|
|
|
UserId: "",
|
|
|
+ NewUserId: "",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
BigMemberOff: true,
|
|
@@ -194,6 +199,7 @@ func Test_WorkMenuMode(t *testing.T) {
|
|
|
func Test_CommonlyRenewWX(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "WX",
|
|
|
Phone: "",
|
|
@@ -210,6 +216,7 @@ func Test_CommonlyRenewWX(t *testing.T) {
|
|
|
func Test_CommonlyRenewAPP(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "APP",
|
|
|
Phone: "",
|
|
@@ -226,6 +233,7 @@ func Test_CommonlyRenewAPP(t *testing.T) {
|
|
|
func Test_CommonlyRenew(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
Phone: "",
|
|
@@ -242,6 +250,7 @@ func Test_CommonlyRenew(t *testing.T) {
|
|
|
func Test_CommonlyList(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
Phone: "",
|
|
@@ -256,6 +265,7 @@ func Test_CommonlyList(t *testing.T) {
|
|
|
func Test_CommonlyListWX(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "WX",
|
|
|
Phone: "",
|
|
@@ -270,6 +280,7 @@ func Test_CommonlyListWX(t *testing.T) {
|
|
|
func Test_CommonlyListAPP(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "APP",
|
|
|
Phone: "",
|
|
@@ -286,6 +297,7 @@ func Test_CommonlyListAPP(t *testing.T) {
|
|
|
func Test_CommonlyClear(t *testing.T) {
|
|
|
in := &pb.WorkDesktopComprehensiveReq{
|
|
|
UserId: "61e7820581197c2e50af18df",
|
|
|
+ NewUserId: "61e7820581197c2e50af18df",
|
|
|
AppId: "10000",
|
|
|
Platform: "PC",
|
|
|
Phone: "",
|