dever vor 6 Jahren
Ursprung
Commit
38e9111f8a

+ 9 - 0
act/database/subscribe.php

@@ -74,6 +74,15 @@ return array
 			'list'		=> 'Dever::load("act/lib/manage.load", "{type}", {data_id})',
 		),
 
+		'note'     => array
+        (
+            'type'      => 'tinyint-1',
+            'name'      => '是否发送状态提醒-1未发送,2已发送',
+            'default'   => '1',
+            'desc'      => '请选择状态',
+            'match'     => 'is_numeric',
+        ),
+
 		'source' 		=> array
 		(
 			'type' 		=> 'tinyint-1',

+ 1 - 1
h5/assets/mobile/article.html

@@ -244,7 +244,7 @@
       var id = $(this).attr('id');
       var audio = new Audio;
       audio.src = url;
-      audio.play();
+      //audio.play();
       audio.addEventListener('play', function () {
         stopPlayers(id);
         $('#'+ id).find('.sound').addClass('playing');

+ 1 - 1
h5/assets/mobile/feature.html

@@ -233,7 +233,7 @@
       var id = $(this).attr('id');
       var audio = new Audio;
       audio.src = url;
-      audio.play();
+      //audio.play();
       audio.addEventListener('play', function () {
         stopPlayers(id);
         $('#'+ id).find('.sound').addClass('playing');

+ 17 - 0
journal/database/active.php

@@ -194,4 +194,21 @@ return array
     (
 
     ),
+
+    'request' => array
+    (
+        # 获取提交订单超过12个小时
+        'getDataByTime' => array
+        (
+            # 匹配的正则或函数 选填项
+            'option' => array
+            (
+                'end' => array('yes', '>='),
+                'state' => 1,
+            ),
+            'type' => 'all',
+            'order' => array('id' => 'desc'),
+            'col' => '*',
+        ),
+    ),
 );

+ 1 - 0
journal/database/cate.php

@@ -28,6 +28,7 @@ $list = array
         'title' => array('yes', 'like'),
         'id' => array($auth, 'in'),
         'journal_id' => 'yes',
+        'state' => 'yes',
     ),
     'type' => 'all',
     'order' => array('reorder' => 'desc', 'id' => 'desc'),

+ 11 - 0
journal/database/order.php

@@ -165,6 +165,15 @@ return array
             'update'    => 'text',
         ),
 
+        'note'     => array
+        (
+            'type'      => 'tinyint-1',
+            'name'      => '是否发送状态提醒-1未发送,2已发送',
+            'default'   => '1',
+            'desc'      => '请选择状态',
+            'match'     => 'is_numeric',
+        ),
+
         'product_id'        => array
         (
             'type'      => 'int-11',
@@ -456,6 +465,8 @@ return array
             (
                 'cdate' => array('yes', '>='),
                 'notice' => 'yes',
+                'note' => 'yes',
+                'type' => array('yes', 'in'),
                 'state' => 1,
             ),
             'type' => 'all',