|
@@ -84,23 +84,23 @@ db = dataset.connect('mysql://hhh7796hhh:lYmWsu^ujcA1@hhh-v57-cluster.cluster-cm
|
|
|
|
|
|
class Execute(BaseModel):
|
|
class Execute(BaseModel):
|
|
exf_id: str
|
|
exf_id: str
|
|
- # num: str # 合約編號
|
|
|
|
- # company: str #設計公司
|
|
|
|
- # mobile: str # 手機
|
|
|
|
- # telete: str # 電話
|
|
|
|
- # designer: str #設計師
|
|
|
|
- # sdate: str # 上架日期
|
|
|
|
- # edate: str # 下架日期
|
|
|
|
- # note: str # 備註說明
|
|
|
|
- # contract_time: str # 到期日
|
|
|
|
- # contract_person: str # 聯絡人
|
|
|
|
- # sales_dept: str # 部門別
|
|
|
|
- # sales_man: str # 接案業務
|
|
|
|
|
|
+ num: str # 合約編號
|
|
|
|
+ company: str #設計公司
|
|
|
|
+ mobile: str # 手機
|
|
|
|
+ telete: str # 電話
|
|
|
|
+ designer: str #設計師
|
|
|
|
+ sdate: str # 上架日期
|
|
|
|
+ edate: str # 下架日期
|
|
|
|
+ note: str # 備註說明
|
|
|
|
+ contract_time: str # 到期日
|
|
|
|
+ contract_person: str # 聯絡人
|
|
|
|
+ sales_dept: str # 部門別
|
|
|
|
+ sales_man: str # 接案業務
|
|
is_close: str # 是否結案 (N: 未結案,Y: 已結案,T: 未上線,D: 續約,E: 不續約延期,F: 不續約需下線,G: 已到期未續約)
|
|
is_close: str # 是否結案 (N: 未結案,Y: 已結案,T: 未上線,D: 續約,E: 不續約延期,F: 不續約需下線,G: 已到期未續約)
|
|
- # price: int
|
|
|
|
|
|
+ price: str
|
|
|
|
|
|
@app.get("/is_close_changed_notice")
|
|
@app.get("/is_close_changed_notice")
|
|
-async def is_close_changed_notice(exf_id: int = 0, is_close: str = ''):
|
|
|
|
|
|
+async def is_close_changed_notice(exf_id: str = 0, is_close: str = ''):
|
|
html = """
|
|
html = """
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
<head>
|
|
<head>
|