Commit c0b13f5b authored by wildfirecode13's avatar wildfirecode13

1

parent 35d2efe2
...@@ -9,6 +9,6 @@ module.exports ={ ...@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6, "IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8, "IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/", "RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1633660597490", "RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1633661056961",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1633660599708/js" "JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1633661059712/js"
} }
\ No newline at end of file
...@@ -19,14 +19,15 @@ class App extends Component { ...@@ -19,14 +19,15 @@ class App extends Component {
const generateLoginUrlResult = await API.generateLoginUrl({ const generateLoginUrlResult = await API.generateLoginUrl({
redirectUrl: "", redirectUrl: "",
cmbData: code cmbData: code,
activityId:CFG.projectId
}); });
// location.href = generateLoginUrlResult.data; // location.href = generateLoginUrlResult.data;
} else { //没有获取到code } else { //没有获取到code
//请求授权协议 //请求授权协议
const generateApprovalResult = await API.generateApproval(); const generateApprovalResult = await API.generateApproval({activityId:CFG.projectId});
const { protocol } = generateApprovalResult; const { protocol } = generateApprovalResult;
// console.error(202) // console.error(202)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment