def get(self): #日本語対応 SetUtf8.set() if(ApiObject.check_api_capacity(self)): return dic=ApiBookmark.get_core(self) ApiObject.write_json_core(self,dic)
def post(self): # 日本語対応 SetUtf8.set() if ApiObject.check_api_capacity(self): return # パラメータ取得 method = "" if self.request.get("method"): method = self.request.get("method") # 返り値 dic = {"status": "failed", "message": "methodが見つかりません"} # ユーザクラス if method == "putData": dic = ApiPerpetuation.put_data(self) ApiObject.write_json_core(self, dic)
def get(self): SetUtf8.set() if(ApiObject.check_api_capacity(self)): return dic=ApiFeed.get_core(self) ApiObject.write_json_core(self,dic)