---
# System prepended metadata

title: Untitled

---


1. 轉移學生
PoTentialPage/store/actionCreators.js  397 行
```
  let obj = { _id, info: values }
        axios({
            method: "POST",
            url: "https://school.ponycody.com.cn/potential/edit",
            data: Qs.stringify(obj),
        })
```

values =
{
    first_name: "Jo"
    full_name: "Jo Biden"
    gender: "male"
    grade: "1"
    last_name: "Biden"
    parent_email: "14463ow@gmail.com"
    parent_first_name: "RU"
    parent_last_name: "RU"
    parent_phone: "13252363236"
    parent_social_network: "wecaht"
    photo_url: "https://ponycody20190712.oss-cn-hangzhou.aliyuncs.com
}

2. potential student detail edit 後發送改過的
 PonycodySchool/src/content/PoTentialPage/store/actionCreators.js 490 行
```
xport const editPotentialStudent = (values, id) =>{
    return ( dispatch ) => {
        //TODO 發送修改請求
        const action = {
            type : constants.EDIT_POTENTIAL_STUDENT,
        }
        dispatch(action);
    }
}
```

values ={

Parent_email: "testing@gmail.com"
Parent_first_name: "testing"
Parent_last_name: "testing"
Parent_phone: "13252312563"
first_name: "testing"
gender: "male"
grade: "1"
last_name: "testing"
parent_social_network: "testing"
photo_url: "  "
}