利用谷歌控制檯console調用後臺代碼

//不須要返回api

callRemoteMethod("gcapi", "assignOperatorToExperimentsV2", {
userId: "dingshan",
contracts: JSON.stringify([
{contractGuid: "xxxx", taskGroupId: "1"},
{contractGuid: "xxxx", taskGroupId: "1"}
])
}, true);ui

 

//有返回值get

callRemoteMethod("gcapi", "getContractAndOperatorsV2", {"hasAllAssignedOperator": "1"})string