我知道在iOS sdk中我可以这样做
[PFCloud callFunctionInBackground:@"email" withParameters:@{@"param1": @"quantity1,@"param2": @"quantity2} block:^(Nsstring *result,NSError *error) { if (error) { //error } else { // make sure the set the email sent flag on the object NSLog(@"result :%@",result); } }];
但是如何使用Javascript函数执行此操作