質問するログイン新規登録

質問編集履歴

1

2020/06/14 20:39

投稿

ytommy
ytommy

スコア11

title CHANGED
File without changes
body CHANGED
@@ -11,7 +11,7 @@
11
11
  #Google apps script
12
12
 
13
13
  function doGet(e) {
14
- var sheet = SpreadsheetApp.openById('1WodkdUIQaKE96BFZvUPkvudS2Fsca9SoK4c1lbJpngU').getSheetByName('予約管理');
14
+ var sheet = SpreadsheetApp.openById('xxx').getSheetByName('xxx');
15
15
  var result = {};
16
16
 
17
17
  if (e.parameter == undefined) {
@@ -62,7 +62,7 @@
62
62
 
63
63
  let date = context['parameters']['date'];
64
64
  let name = agent.parameters['any'];
65
- let url = 'https://script.google.com/macros/s/AKfycbyZDwT6ZBSaG4DaL8sqd4SKAjS6eNEPpv3AXmtRDlfQVY_6-3s/exec?date=' + encodeURIComponent(date.substring(1, 10)) +'&name=' + encodeURIComponent(name);
65
+ let url = 'xxx;
66
66
 
67
67
  //httpのリクエストを送信
68
68
  let req = https.get(url, (res) => {