mirror of
https://github.com/kuaifan/dootask.git
synced 2026-09-10 14:08:57 +00:00
no message
This commit is contained in:
parent
4701834295
commit
16717b0acd
@ -43,7 +43,7 @@ class Doo
|
|||||||
char* tokenDecode(char* val);
|
char* tokenDecode(char* val);
|
||||||
char* translate(char* val, char* val);
|
char* translate(char* val, char* val);
|
||||||
char* md5s(char* text, char* password);
|
char* md5s(char* text, char* password);
|
||||||
EOF, app_path("Module/Lib/doo.so"));
|
EOF, "/usr/lib/doo/doo.so");
|
||||||
$token = $token ?: Base::headerOrInput('token');
|
$token = $token ?: Base::headerOrInput('token');
|
||||||
$language = $language ?: Base::headerOrInput('language');
|
$language = $language ?: Base::headerOrInput('language');
|
||||||
self::$doo->initialize("/var/www", $token, $language);
|
self::$doo->initialize("/var/www", $token, $language);
|
||||||
|
|||||||
@ -1,95 +0,0 @@
|
|||||||
/* Code generated by cmd/cgo; DO NOT EDIT. */
|
|
||||||
|
|
||||||
/* package command-line-arguments */
|
|
||||||
|
|
||||||
|
|
||||||
#line 1 "cgo-builtin-export-prolog"
|
|
||||||
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
#ifndef GO_CGO_EXPORT_PROLOGUE_H
|
|
||||||
#define GO_CGO_EXPORT_PROLOGUE_H
|
|
||||||
|
|
||||||
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
|
||||||
typedef struct { const char *p; ptrdiff_t n; } _GoString_;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Start of preamble from import "C" comments. */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* End of preamble from import "C" comments. */
|
|
||||||
|
|
||||||
|
|
||||||
/* Start of boilerplate cgo prologue. */
|
|
||||||
#line 1 "cgo-gcc-export-header-prolog"
|
|
||||||
|
|
||||||
#ifndef GO_CGO_PROLOGUE_H
|
|
||||||
#define GO_CGO_PROLOGUE_H
|
|
||||||
|
|
||||||
typedef signed char GoInt8;
|
|
||||||
typedef unsigned char GoUint8;
|
|
||||||
typedef short GoInt16;
|
|
||||||
typedef unsigned short GoUint16;
|
|
||||||
typedef int GoInt32;
|
|
||||||
typedef unsigned int GoUint32;
|
|
||||||
typedef long long GoInt64;
|
|
||||||
typedef unsigned long long GoUint64;
|
|
||||||
typedef GoInt64 GoInt;
|
|
||||||
typedef GoUint64 GoUint;
|
|
||||||
typedef size_t GoUintptr;
|
|
||||||
typedef float GoFloat32;
|
|
||||||
typedef double GoFloat64;
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#include <complex.h>
|
|
||||||
typedef _Fcomplex GoComplex64;
|
|
||||||
typedef _Dcomplex GoComplex128;
|
|
||||||
#else
|
|
||||||
typedef float _Complex GoComplex64;
|
|
||||||
typedef double _Complex GoComplex128;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
static assertion to make sure the file is being used on architecture
|
|
||||||
at least with matching size of GoInt.
|
|
||||||
*/
|
|
||||||
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
|
|
||||||
|
|
||||||
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
|
||||||
typedef _GoString_ GoString;
|
|
||||||
#endif
|
|
||||||
typedef void *GoMap;
|
|
||||||
typedef void *GoChan;
|
|
||||||
typedef struct { void *t; void *v; } GoInterface;
|
|
||||||
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* End of boilerplate cgo prologue. */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern void initialize(char* work, char* lang);
|
|
||||||
extern void setUserToken(char* token);
|
|
||||||
extern char* license();
|
|
||||||
extern char* licenseDecode(char* license);
|
|
||||||
extern GoUint8 licenseSave(char* license);
|
|
||||||
extern int userId();
|
|
||||||
extern char* userExpiredAt();
|
|
||||||
extern char* userEmail();
|
|
||||||
extern char* userEncrypt();
|
|
||||||
extern char* userToken();
|
|
||||||
extern char* userCreate(char* email, char* password);
|
|
||||||
extern char* tokenEncode(int userid, char* email, char* encrypt, int days);
|
|
||||||
extern char* tokenDecode(char* token);
|
|
||||||
extern char* translate(char* text, char* langType);
|
|
||||||
extern char* md5s(char* text, char* password);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
Binary file not shown.
@ -3,7 +3,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
php:
|
php:
|
||||||
container_name: "dootask-php-${APP_ID}"
|
container_name: "dootask-php-${APP_ID}"
|
||||||
image: "kuaifan/php:swoole-8.0.rc3"
|
image: "kuaifan/php:swoole-8.0.rc4"
|
||||||
shm_size: "1024m"
|
shm_size: "1024m"
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/crontab/crontab.conf:/etc/supervisor/conf.d/crontab.conf
|
- ./docker/crontab/crontab.conf:/etc/supervisor/conf.d/crontab.conf
|
||||||
@ -12,7 +12,6 @@ services:
|
|||||||
- ./docker/log/supervisor:/var/log/supervisor
|
- ./docker/log/supervisor:/var/log/supervisor
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
environment:
|
environment:
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
LANG: "C.UTF-8"
|
LANG: "C.UTF-8"
|
||||||
MODE: "production"
|
MODE: "production"
|
||||||
MYSQL_HOST: "${DB_HOST}"
|
MYSQL_HOST: "${DB_HOST}"
|
||||||
@ -36,8 +35,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./docker/nginx:/etc/nginx/conf.d
|
- ./docker/nginx:/etc/nginx/conf.d
|
||||||
- ./public:/var/www/public
|
- ./public:/var/www/public
|
||||||
environment:
|
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
networks:
|
networks:
|
||||||
extnetwork:
|
extnetwork:
|
||||||
ipv4_address: "${APP_IPPR}.3"
|
ipv4_address: "${APP_IPPR}.3"
|
||||||
@ -53,8 +50,6 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
container_name: "dootask-redis-${APP_ID}"
|
container_name: "dootask-redis-${APP_ID}"
|
||||||
image: "redis:alpine"
|
image: "redis:alpine"
|
||||||
environment:
|
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
networks:
|
networks:
|
||||||
extnetwork:
|
extnetwork:
|
||||||
ipv4_address: "${APP_IPPR}.4"
|
ipv4_address: "${APP_IPPR}.4"
|
||||||
@ -70,7 +65,6 @@ services:
|
|||||||
- ./docker/mysql/conf.d:/etc/mysql/conf.d
|
- ./docker/mysql/conf.d:/etc/mysql/conf.d
|
||||||
- ./docker/mysql/data:/var/lib/mysql
|
- ./docker/mysql/data:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
MYSQL_PREFIX: "${DB_PREFIX}"
|
MYSQL_PREFIX: "${DB_PREFIX}"
|
||||||
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
|
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
|
||||||
MYSQL_DATABASE: "${DB_DATABASE}"
|
MYSQL_DATABASE: "${DB_DATABASE}"
|
||||||
@ -95,7 +89,6 @@ services:
|
|||||||
- ./docker/office/resources/spreadsheeteditor/main/resources/css/app.css:/var/www/onlyoffice/documentserver/web-apps/apps/spreadsheeteditor/main/resources/css/app.css
|
- ./docker/office/resources/spreadsheeteditor/main/resources/css/app.css:/var/www/onlyoffice/documentserver/web-apps/apps/spreadsheeteditor/main/resources/css/app.css
|
||||||
- ./docker/office/resources/spreadsheeteditor/mobile/css/887.css:/var/www/onlyoffice/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/887.css
|
- ./docker/office/resources/spreadsheeteditor/mobile/css/887.css:/var/www/onlyoffice/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/887.css
|
||||||
environment:
|
environment:
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
JWT_ENABLED: false
|
JWT_ENABLED: false
|
||||||
networks:
|
networks:
|
||||||
extnetwork:
|
extnetwork:
|
||||||
@ -107,7 +100,6 @@ services:
|
|||||||
image: "kuaifan/fileview:4.1.0-SNAPSHOT-RC20"
|
image: "kuaifan/fileview:4.1.0-SNAPSHOT-RC20"
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
environment:
|
environment:
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
KK_CONTEXT_PATH: "/fileview"
|
KK_CONTEXT_PATH: "/fileview"
|
||||||
KK_OFFICE_PREVIEW_SWITCH_DISABLED: true
|
KK_OFFICE_PREVIEW_SWITCH_DISABLED: true
|
||||||
KK_FILE_UPLOAD_ENABLED: true
|
KK_FILE_UPLOAD_ENABLED: true
|
||||||
@ -129,8 +121,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
extnetwork:
|
extnetwork:
|
||||||
ipv4_address: "${APP_IPPR}.8"
|
ipv4_address: "${APP_IPPR}.8"
|
||||||
environment:
|
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- drawio-export
|
- drawio-export
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -142,8 +132,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
extnetwork:
|
extnetwork:
|
||||||
ipv4_address: "${APP_IPPR}.9"
|
ipv4_address: "${APP_IPPR}.9"
|
||||||
environment:
|
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/drawio/export/fonts:/usr/share/fonts/drawio
|
- ./docker/drawio/export/fonts:/usr/share/fonts/drawio
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -154,8 +142,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
extnetwork:
|
extnetwork:
|
||||||
ipv4_address: "${APP_IPPR}.10"
|
ipv4_address: "${APP_IPPR}.10"
|
||||||
environment:
|
|
||||||
TZ: "Asia/Shanghai"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@ -2154,6 +2154,9 @@ export default {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'filepos':
|
case 'filepos':
|
||||||
|
if (this.windowSmall) {
|
||||||
|
this.$store.dispatch("openDialog", 0);
|
||||||
|
}
|
||||||
this.goForward({name: 'manage-file', params: value});
|
this.goForward({name: 'manage-file', params: value});
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user