feat: 新用户注册飞书通知
This commit is contained in:
2
dist/pages/home/index.js
vendored
2
dist/pages/home/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/pages/my/index.js
vendored
2
dist/pages/my/index.js
vendored
File diff suppressed because one or more lines are too long
4
dist/pages/my/index.js.LICENSE.txt
vendored
4
dist/pages/my/index.js.LICENSE.txt
vendored
@@ -2,8 +2,6 @@
|
||||
|
||||
/*! ../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./index.tsx */
|
||||
|
||||
/*! ../../utils/index */
|
||||
|
||||
/*! ../common/utils */
|
||||
|
||||
/*! ../common/validator */
|
||||
@@ -38,6 +36,8 @@
|
||||
|
||||
/*! ./wxs */
|
||||
|
||||
/*! @/utils/index */
|
||||
|
||||
/*! @antmjs/vantui/es/button */
|
||||
|
||||
/*! @antmjs/vantui/es/cell */
|
||||
|
||||
@@ -94,15 +94,16 @@ const Home = () => {
|
||||
};
|
||||
});
|
||||
|
||||
const testCloud = async () => {
|
||||
|
||||
// 云托管测试
|
||||
const testCloud = async () => {
|
||||
const res = await cloudcall({
|
||||
path:'/'
|
||||
path:'/feishu'
|
||||
})
|
||||
console.log('业务返回结果',res)
|
||||
};
|
||||
useEffect(() => {
|
||||
testCloud();
|
||||
// testCloud();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@@ -21,13 +21,14 @@ import Taro from "@tarojs/taro";
|
||||
import ActiveCard from "../components/ActiveCard";
|
||||
import {
|
||||
addTable,
|
||||
cloudcall,
|
||||
getOpenid,
|
||||
getTable,
|
||||
getTableid,
|
||||
isLogin,
|
||||
phoneLogin,
|
||||
updateTableid,
|
||||
} from "../../utils/index";
|
||||
} from "@/utils/index";
|
||||
import { type } from "../../../config";
|
||||
import { Divider } from "@antmjs/vantui";
|
||||
|
||||
@@ -198,8 +199,11 @@ const my = (props: any) => {
|
||||
onClick={async () => {
|
||||
// 获取收获地址
|
||||
Taro.chooseAddress({
|
||||
success: function (AddressRes) {
|
||||
success: async (AddressRes) =>{
|
||||
console.log("AddressRes", AddressRes);
|
||||
await cloudcall({
|
||||
path:'/feishu'
|
||||
})
|
||||
Taro.cloud.callFunction({
|
||||
name: "getOpenid",
|
||||
complete: async (opemRes: any) => {
|
||||
|
||||
Reference in New Issue
Block a user