-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
設計講者素材上傳頁面 #53
Comments
這部分 @hsimao 已經將頁面設計完成了,就麻煩 @xwang0929 入場幫忙處理後端的部分了,謝謝,等 API 出來再請 Mars 來做前後串接,謝謝 <(_ _)> |
model 先送 pr,實作說明如下: 外部表單使用獨立的 template ,使用純 html form 或其他 js framework 都行。路徑:
內部使用路徑:
|
分享一下使用 postman 測試 laravel api 時遇到的狀況: 在 PUT form-data 到 api 時,要改成用 POST 然後多加個欄位: _method=PUT 。通常是要同時上傳檔案時才會遇到,如果不需要上傳檔案的話,body 直接使用 x-www-urlencoded 就行。 |
大家都已經在這個 issue 裡面 comment 了,我就不特別調整 issue 了, Sprint 5 主要以前台為主,如果有心力處理後端當然是最好的,也麻煩大家幫忙了 <(_ _)> |
@xwang0929 這邊是不是剩下 @Tzuhui 串後台? 另外是前台的部分應該還沒完成對吧? |
|
ok @hsimao 那邊的進度還好嗎? |
剛要開始處理,目前有遇到問題,我 fetch 最新的 develop 下來後有遇到幾個問題 1.) 參考此篇說明 使用以下網址會報錯 2.) 看起來好像是資料庫要注入,我使用 php artisan db:seed --class SepakersTableSeeder 指令注入後還是不行~也有報錯 3.) 講者前台表單的 html 檔案擺放位置放哪裡~才能被此路由吃到? 對以上幾個問題~請 |
@hsimao 這個指令讓你補新的資料庫處理程序 還是有問題的時候再輸入這個指令重新整理資料庫 1 & 2 都是資料庫的問題,重跑 migration 應該就行了。 3.) template 在 /resources/views/form/speaker.blade.php 。裡面只有簡單的 html,需要幫忙隨時跟我說。 |
資料庫有成功注入了,但還是對應不了畫面,使用範例網址會直接返回 我改用網址不加參數好像也吃不到目前的speaker.blade.php 檔案 我自己在 /resources/views/form/speaker.blade.php 底下新建一個 index.html 也無法吃到 |
@hsimao
然後 external_link 就會是有效的連結 |
@hsimao ,不好意思,github 的信不會馬上看,現在才看到你的訊息。 就像 @FWcloud916 說的那樣,可以直接在 api 找到正確的網址。你也可以直接改 speaker.blade.php,把它當 html 改就行了,目前裡面只有放一個表單讓你輸入密碼而已。 需要即時回應的話用 slack 找我比較快。 |
這個改由 @Tzuhui 幫忙接手 |
今天測試的時候遇到幾個問題提一下
請 @Tzuhui 幫忙一下,謝謝 |
|
Ref Issue: MOPCON/MOPCON#142
參考文件:https://docs.google.com/document/d/1vdx2N52TuFyNiZZ64fLH9C353QX5VBVWOEb5_FbT-Ug/edit
參考上方文件,設計給講者上傳素材之前端介面
The text was updated successfully, but these errors were encountered: